Documentation Center

Configuring JSP or ASP.NET

If you intend to publish to JSP or ASP.NET, configure your Component Templates, Publication Targets, and the SmartTarget Tag bundle in the cd_dynamic_conf.xml file.

Procedure

  1. In your Component Templates:
    1. Set the Output format property to JSP or ASP.NET.
    2. Set the Component Presentations based on this Component Template will be to the value Published as a Dynamic Component.
  2. In your Publication Targets, set the Target Language property to JSP or ASP.NET.
  3. Optional: Open smarttarget_conf.xml in a text editor and configure TCDL settings for SmartTarget in the <Tcdl> section of the configuration file.
    For example, the <Pattern> section defines the regular expression that you can use in your code to indicate where a replacement string is inserted. By default, double-hash (##()##) signs are used to demarcate the string to be replaced (these indicate content that requires processing by SmartTarget).