Configuring Effectivity Definition with Single Effectivity Type

You can hide the AND and NOT buttons in the Edit Effectivity Definition dialog box when a single effectivity type is defined.

For more information, see Effectivity Definition with Single Effectivity Type.

  1. Create or open the text file for customized properties. For more information, see Editing Properties Using MQL.
  2. To hide the AND and NOT buttons in the Edit Effectivity Definition dialog box:
    1. Add or edit this line in the file used to import properties into a page object:

      emxEffectivity.Dialog.AllowSingleOperator=true
      Note: If more than one effectivity type is defined, this setting has no meaning.

    2. Specify the value for this property depending on your business requirements:

      • true = The AND and NOT buttons are not visible when only one effectivity type is present in the Edit Effectivity Definition dialog box.
        Important: Including the AND and NOT operators in the definition of a single effectivity type creates an invalid effectivity expression.
      • false = The AND and NOT buttons are visible when only one effectivity type is present in the Edit Effectivity Definition dialog box.

      A specific page can override this property using the showAnd URL parameter.

  3. When you finish updating the text file with all properties that you want to modify, use the text file to modify the effectivity.properties page object. For more information, see Editing Properties Using MQL.