Working with Validation Scripts
Use the following procedures to create, edit, or remove a document validation script. For detailed information about creating and customizing validation scripts, see the Kofax Express Developer's Guide.
To use Kofax Express validation scripts, one of the following must be installed:
-
Microsoft Visual Studio 2012 / 2013 / 2015 / 2017 / 2019 or later.
-
Microsoft Visual Studio Express 2012 / 2013 / 2015 or later.
-
Microsoft Visual Studio Community 2017 / 2019 or later.
Creating a Validation Script
- Verify that you have completed the process of creating index fields.
-
On the
Index Setup tab, in the
Validation Script group, click
New.
VB .NET is launched, and a list of index fields appear on the script template. By default, the project and script names are based on the current job name.
- Use the template to create and compile a validation script according to your business needs.
- Save the compiled script and exit VB .NET to return to Kofax Express.
-
In a multiuser environment, publish the job to make the new script available to other workstations.
The compiled script is run automatically when you enter indexing mode to process documents.
Editing a Validation Script
After creating and compiling a validation script, you can reopen it to make adjustments.
-
On the
Index Setup tab, in the
Validation Script group, click
Edit.
VB .NET is launched, and your validation script appears.
- Update the validation script as necessary.
- Save the script and exit VB .NET to return to Kofax Express.
- In a multiuser environment, publish the job to make the updated script available to other workstations.
Removing a Validation Script
- Verify that no further processing with the current validation script is required.
-
On the
Index Setup tab, in the
Validation Script group, click
Delete.
The validation script is removed.
- In a multiuser environment, publish the job to remove the script from other workstations.