ImportMustHaveCheck
 
Type

Long

Default

1

Required

no

Description

Allows you to specify how the ImportMustHaveCSVs strings should be applied by entering a bitwise mask number. You can determine this number by adding up some of the following numbers as appropriate:

Check specified fields: 0

If you enter 0, the Import Module checks the specified ImportMustHaveFieldCSVs fields for the specified ImportMustHaveCSVs strings. If a field in the document contains any of the strings, the document is imported.


DREREFERENCE: 1

If you enter 1 the Import Module checks if a document's DREREFERENCE contains any of the specified ImportMustHaveCSVs strings. If it does, the document is imported.


Case insensitive: 64

You can add 64 to the ImportMustHaveCheck value in order to make the checking of the specified ImportMustHaveCSVs fields case-insensitive.


Note:

  • The Import Module performs CantHave and MustHave checks as a last stage of the importing process, after field operations are executed. This means that if a field is modified during the importing process, it is the modified value that the Import Module checks for the specified ImportMustHaveCSVs strings. If you want to check documents before field operations are executed, you must set ImportMustHaveCheckAfterOps=false.
  • CantHave requirements have precedence over MustHave requirements. That is, if the same string is specified for both ImportMustHaveCSVs and ImportCantHaveCSVs, and the Import Module finds that string in a document, the document is not imported.
Example

ImportMustHaveCheck=65

In this example, the Import Module checks the DREREFERENCE of documents for case-insensitive matches of any ImportMustHaveCheck. If the DREREFERENCE of a document doesn't contain any of the ImportMustHaveCheck strings, the Import Module discards the document.

See also

ImportCantHaveCSVs

ImportCantHaveCheck

ImportCantHaveCheckAfterOps

ImportMustHaveCSVs

ImportMustHaveCheckAfterOps

ImportMustHaveFieldCSVs