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

Question

How to setup data sets update in FlexiCapture Connect?

How to set up "templates" property in FlexiCapture Connect configuration file?

Answer

In ABBYY FlexiCapture Connect configuration file config.json, "templates" [] array node is dedicated to setup data sets update.

In "templates" [] node:

  • "name" property is used to specify Document Definition where data sets should be updated, 
  • "datasets" [] property  is used to specify data sets to update.

"datasets" [] property is used to specify data sets update details which need to be updated with FlexiCapture Connect, each data set in a separate node (separated with commas).

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

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

Example.

{
"url": "https://europe.flexicapture.com",
"tenant": "MyTenant",
"user": "my.login@company.com",
"password": "mypassword",
"projects": [
{
"name": "project_1",
"templates": [
      {
        "name": "Document Definition 1",
        "datasets":
[
          {
            "name": "DataSet",
            "file": "C:\\HotFolder\\DataSets\\DataSet_in_Document_Definition_1.csv",
            "period": "00:01:00",
            "schedule": [ "12:00:00" ]
          }
                    ]
                }
]
}
]
}           

Additional Information:  

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

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

 

Was this article helpful?

1 out of 1 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed