Skip to main content
Kofax

Skipping Locators

17339

QAID # 17339 Published

Question / Problem:

Skipping Locators

Answer / Solution:

Sometimes it is desired to skip the execution of a locator based on something that can be determined in script. This can be important if several locators need to be designed, but their execution is expensive.

There is a flag in the XDoc's locators that can be set to skip the execution of a locator:

pXDoc.Locators.ItemByName("LocatorName").Preserve = TRUE

While it is set to TRUE, the locator will not be executed. So if you use this flag to skip a locator, it is recommended to reset the flags of all locators in the Document_AfterExtract event.

Applies to:

Product

Version

Category

AXPRO

4.0

Configuration

AXPRO

4.5

Configuration

AXPRO

5.0

Configuration

AXPRO

5.5

Configuration

  • Was this article helpful?