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. The AND and NOT operators should not be used when only a single effectivity type is defined because they create an invalid effectivity expression.

See Property for 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, follow these steps:
    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. Set 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.
      • 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 are finished 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.