Create a data set
Before you configure the script, create a data set for it to search:1
Open the document definitions
Open the Project Setup Station and click Project → Document Definitions.
2
Add a data set
Click Document Definition → Document Definition Properties, open the Data Sets tab, and click Add.
3
Create records
Create a data set, add a few records, and click Close.
Sample script
https://<ApplicationServer>/FlexiCapture12/Verification/Scripts/CustomScripts/customActionLookup.js, where <ApplicationServer> is the name of the computer where the Application Server is installed.
Replace the values in these lines:
var dbCacheName = 'DataSet1';—DataSet1is the name of the data set you created.var fieldNameInCache = 'Field2';—Field2is the name of the data set field that contains the value to copy.
