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
- In your Component Templates:
- Set the Output format property to JSP or ASP.NET.
- Set the Component Presentations based on this Component Template will be to the value Published as a Dynamic Component.
- In your Publication Targets, set the Target Language property to JSP or ASP.NET.
- 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).