5

I have created a dynamic component presentation which contains UGC TCDL tags. The DCP is published to the broker database as REL.

I can see in the COMPONENT_PRESESENTATIONS table that the tags are present. (<tcdl:PostRating .../>, <tcdl:ContextVariable..../> and the like.)

In the COMPONENT_PRES_META_DATA table, I can see that the DCP in question has a COMPONENT_OUTPUT_FORMAT of REL.

I have reduced my test case to a page that does simply the following:

<%@ Page Language="C#" %>
<%
  var ass = new Tridion.ContentDelivery.DynamicContent.ComponentPresentationAssembler("tcm:19-448-64");
  Response.Write(ass.GetContent("tcm:19-429", "tcm:19-449-32"));
%>

This page renders the content of the DCP exactly as it is to be found in the database, with the <tcdl:/> tags still intact.

In the bin\config\cd_dynamic_conf.xml file in the web site, is configured a Configuration/TCDLEngine/Renderer/TagBundle element, as follows:

<TagBundle Resource="ugc_renderer_bundle.xml"/>

and bin\lib\ugc_dynamic.jar is present

Where else should I be looking for problems with my configuration? Are there any other possible causes for this problem, or approaches I might take?

1 Answers1

4

I've seen the 2011 SP1 documentation mentions that the TagBundle element needs to go under the Configuration/TCDLEngine/Renderer element, however the UGC documentation seems to indicate otherwise:

In the <TCDLEngine> section, insert the following element just before the end tag:

<TagBundle Resource="ugc_renderer_bundle.xml"/>

So that's right in the TCDLEngine element and not inside a Renderer element. I'm not sure why that is and which one of the two might be a documentation defect (or if even both are valid for certain cases), but have you tried the configuration this way?