You must create the AutoFingerprint ruleset with the actions
that enable automatic fingerprint generation.
Procedure
To create the AutoFingerprint ruleset:
-
In the Datacap Studio Rulesets pane,
right-click the TravelDocs application and
choose Add Ruleset.
-
Rename the new ruleset AutoFingerprint and
rename the default rule from Rule1 to Create
New Fingerprint.
-
Select Function1 and add the actions
and parameters in the following table.
| Library |
Action |
Parameter |
| rrunner |
rrCompare |
object1 = @P.MatchType
object2 = Manual
|
| AutoDoc |
SetFingerprintDir |
@APPPATH(fingerprint) |
| AutoDoc |
CreateFingerprint |
|
| AutoDoc |
SetFingerprint |
@D.TYPE,@P.TYPE |
| Intellocate |
iloc_SetZones |
|
Attention: The parameter on the SetFingerprint
action sets the fingerprint class to the current document type and
the fingerprint type to the current page type. Make sure that TYPE
is uppercase.
-
Right-click the Create New Fingerprint rule
and choose Add Function.
-
Select Function2 and add the following
action.
| Library |
Action |
Parameter |
| rrunner |
Status_Preserve_OFF |
|
The purpose of this function is to ensure that the rule
returns True and thus avoid triggering a validation error.
-
In the Rulesets pane, click Save.
Then, click Lock/Unlock ruleset and choose Publish
Ruleset.