How to get document fields using API (SDK)?

181 Views Asked by At

I am trying to get the list of all document field properties by document ID. I am bit lost how to send the correct parameters. Kofax Help article says to use GetDocumentFieldPropertyValues (string sessionId, ReportingData reportingData, string documentId, FieldPropertiedCollections fieldProperties).

Can someone help me how to pass the correct value of filePropertiesCollection which consists of RunTimeFieldIdentity and FieldSystemPropertyIdentity? I am getting exception whenever I pass runTImeFieldIdentity as Name = "Height". May be it is not clear which value to pass?

Any sample working code will be very helpful?

2

There are 2 best solutions below

0
ktaSharp On

Let me answer my own question 75% :)

After doing more research finally I ended up using CaptureDocumentService.GetDocument method which will fetch all the required information about runtime fields. By saying what I have noticed the runtime values are being overwritten in my process. Any idea KOFAX gurus ?

1
Gabriel Castillo On

can you please be more explicit to try to understand well your need, and the problem that do you have?. If it's possible try to upload an image to clarify.

Bye