0

I have a custom module which calls a webservice and get response from webservice with several values I have to pass to validation or other module.

I implemented:

  • login
  • getting the current batch
  • getting IACDataElement, getting child element by name, getting IACDataElementCollection.

Here is a sample of my data collection process:

// get the bath
IBatch activeBatch = session.NextBatchGet(login.ProcessID, dbfilter, dbstate);
Console.WriteLine(activeBatch.BatchClassName);
// getting root element
IACDataElement oRoot = activeBatch.ExtractRuntimeACDataElement(0);
// get oBatch information
IACDataElement oBatch = oRoot.FindChildElementByName("Batch");
// Getting collection of docs
IACDataElementCollection oDocCol = GetElementsByName(oBatch, "Documents", "Document");


foreach (IACDataElement oDoc in oDocCol) 
{        
     Dictionary<string, string> oFields = Utils.GetSoapQueryFields(oDoc);
     SoapResponse soapResponse = buildAndSendQuery(url, oFields)
     // assign values to new "ofields"
}

Actually references I import for the current project are:

  • Kofax.Capture.AdminModule
  • Kofax.Capture.SDK.CustomModule
  • Kofax.Capture.SDK.Data
  • Kofax.Capture.SDK.Workflow
  • Kofax.DBLite
  • Kofax.MSXML.Interop

I have 2 issues actually:

  • How do I set custom properties: some can be displayed in validation and some should be exported in a json, xml, anything (not really defined actually)
  • my custom module is between KTM server and KTM validation: how can i bypass validation process and go to KBLearning, PDF generator or export ?
  • What references are missing for completing the application ?
davidvera
  • 1,292
  • 2
  • 24
  • 55

0 Answers0