How to update several data sets in Document Definition with FlexiCapture Connect?

Question

How can I update all data sets in my Document Definition with FlexiCapture Connect?

Answer

To update several data sets in Document Definitionat once, in FlexiCapture Connect configuration file config.json, under "templates" [] array in dedicated "datasets" [] array provide update details for each of data sets (separated with commas) in the Document Definition which should be updated with FlexiCapture Connect:

  • "name" property to specify the data set name.
  • "file" property to specify the path to CSV file which is used as data set source.
  • "period" property to specify data set update period.
  • "schedule" property to specify the day time when data set update should be performed.

Note. "period" and "schedule" properties are independent of each other. It is legitimate to use only one of the properties or both.

Note. If there are some data sets in the Document Definition where you do not want to perform data sets update with FlexiCapture Connect, just do not add them to the configuration file.

Example.

"templates": [     
            {     
              "name": "Document Definition 2",
      "datasets":
[
        {
          "name": "DataSet_One",
          "file": "C:\\HotFolder\\DataSets\\DataSet_1_in_Document_Definition_2.csv",
          "period": "00:01:00",
          "schedule": [ "12:00:00" ]
        },
        {
        "name": "DataSet_Two",
        "file": "C:\\HotFolder\\DataSets\\DataSet_Two_in_Document_Definition_2.csv",
        "period": "00:01:00",
        "schedule": [ "12:00:00" ]
      }
      ]
            }
            ]    

Additional Information:

How to update data sets in FlexiCapture project with ABBYY FlexiCapture Connect?

How to update data sets in several Document Definitions with FlexiCapture Connect?

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed