Documentation Center

Enabling processing of UGC TCDL tags

You need to add a tag bundle to your dynamic configuration file cd_dynamic_conf.xml to enable your the Community Web Service and Moderation Web Service to process User Generated Content TCDL tags at runtime.

About this task

The default Template Building Blocks for User Generated Content create TCDL tags that are handled differently depending on the Target Language setting in the Publication Target:

  • if the Target Language is set to JSP or ASP.NET, User Generated Content tags are transformed into JSP or ASP.NET code during publishing that require no further processing.
  • if the Target Language is set to REL, User Generated Content tags are published as is (TDCL) to the Web site that require processing at request time.

Procedure

  1. Access the following directory where your Community Web Service is running:
    • the WEB-INF/classes/ directory in a JSP Web application.
    • the bin\config\ subfolder in a .NET Web application.
  2. Open the file cd_dynamic_conf.xml in a plain-text or XML editor.
  3. In the <TCDLEngine> section, insert the following element just before the end tag:
    <TagBundle Resource="ugc_renderer_bundle.xml"/>
  4. Save and close cd_dynamic_conf.xml.
  5. Repeat the steps to configure the Moderation Web Service.

Results

You have enabled the processing and rendering ofUser Generated Content TCDL tags at request time.