This page describes how to update values and properties of document fields.
The following code is a sample of updating values and properties of three fields of the document identified by Document ID.
1 public void UpdateDocumentFieldPropertyValuesSample(string sessionId, string docId, string field1,
2 string field1Value, string field1Error, string field2, string field2Value, bool field2ExtractionConfident,
3 string field3, int field3Row, int field3Col, string field3Value, string field3Width)
5 var cds = new sdk.CaptureDocumentService();
9 // Update the given system field.
10 cds.UpdateDocumentFieldPropertyValues(sessionId, null, docId, new FieldPropertiesCollection {
12 Identity = new RuntimeFieldIdentity(field1),
13 PropertyCollection = new FieldSystemPropertyCollection {
14 new FieldSystemProperty {
15 SystemFieldIdentity = new FieldSystemPropertyIdentity {
20 new FieldSystemProperty {
21 SystemFieldIdentity = new FieldSystemPropertyIdentity {
22 Name =
"ErrorDescription"
29 Identity = new RuntimeFieldIdentity(field2),
30 PropertyCollection = new FieldSystemPropertyCollection {
31 new FieldSystemProperty {
32 SystemFieldIdentity = new FieldSystemPropertyIdentity {
37 new FieldSystemProperty {
38 SystemFieldIdentity = new FieldSystemPropertyIdentity {
39 Name =
"ExtractionConfident"
41 Value = field2ExtractionConfident
46 Identity = new RuntimeFieldIdentity(field3, field3Row, field3Col),
47 PropertyCollection = new FieldSystemPropertyCollection {
48 new FieldSystemProperty {
49 SystemFieldIdentity = new FieldSystemPropertyIdentity {
54 new FieldSystemProperty {
55 SystemFieldIdentity = new FieldSystemPropertyIdentity {
66 // Unhandled exceptions will terminate processing
from progressing through the remaining nodes on the process map.