Documentation Center

Publishing content to be served through a Web service

If your published content is intended to be server through the Content Delivery Web service, transform your TCDL tags at request time rather than at publish time.

Procedure

  1. If you created any custom TCDL tags (which must take the form of a Java class that extends com.tridion.tcdl.TagRenderer), add their tag definitions to the Storage Layer configuration file, cd_storage_conf.xml.
  2. Access Content Manager Explorer.
  3. Open each Component Template that renders content intended for Web service consumption, and set its Output Format property the values REL. REL stands for Render Engine Language.
  4. In the same Component Template, set the Component Presentations based on this Component Template will be to the value Published as a Dynamic Component.
  5. Save and close your Component Template, and continue with the next one.
  6. Next, open each of the Publication Targets to which you publish your rendered content, and set its Target Language property to REL.
  7. Save and close your Publication Target, and continue with the next one.

Results

Your TCDL tags are now published 'as is', and at request time, a Java class transforms the TCDL tags to ASP.NET or JSP, executes that code and places the result in the Web service response.