Documentation Center

Configuring Keyword Triggers

You can configure a trigger-type to indicate that its value is a Keyword so that Triggers based on that trigger-type are handled as a Keyword instead of plain text. Configure Keyword Triggers in the SmartTarget Model.config configuration file.

Before you begin

  • You can only use single-select Keywords
  • Trigger types you configure as a Keyword Trigger must be basetype="text"

Procedure

  1. On your Content Manager Server, open IIS.
  2. Go to the %TRIDION_HOME%/WebUI/Models/SmartTarget/Configuration directory and open the Model.config file in a text editor.
  3. In the <keywordtriggers> section, add a <keywordtrigger>Name</keywordtrigger> element for each trigger type you want to be available as a Keyword Trigger in the user interface.

    where name corresponds to the value of the name attribute in the trigger-types.xml configuration file:

    
    <settings>
    	<customconfiguration>
          <smarttarget>
            <keywordtriggers>
              <keywordtrigger>MyKeyword</keywordtrigger> 
              <keywordtrigger>Contact - Keywords</keywordtrigger>
            </keywordtriggers>
          </smarttarget>      
        </customconfiguration>
    </settings>
  4. Save and close the file.