How To Configure an Automated SetScanDate field in a Job Step


This article outlines the minimum steps required to configure a job that automatically adds a scan date value to an index field named ScanDate.


  1. Create a job with an Indexing or Capture with Indexing step.
  2. Add an index field to your step, named ScanDate. Set the index type to Date. It is important the index field name be exactly ScanDate.
  3. After this step, add a custom code step.
  4. Import the SetScanDate.xml sample script into the script editor using C# and the generic template. The sample script can be found in the C:\Program Files\Digitech Systems\PaperVision Capture\Library\Samples directory.
  5. Comment the code blocks containing the text ‘Windows.Forms’. This is done by placing ‘//’ in front of each line inside the block.
    Example (additional commenting in red):

    // assume this code is executed within a manual job step
    // and display a confirmation UI
    //string.Format("Scan date set for {0} documents.",documentIDs.Length));
  6. Close the editor by clicking OK. Check in the job and activate if necessary. When the job is run, the ScanDate field will automatically be populated during the custom code step.

Filed under PaperVision® Capture, R70

Last modified Feb 24, 2020

Submitted Jan 20, 2010

Related Articles

Share via Email Print