3

I have a DD4T component template with the following source.

<CompoundTemplate xmlns="http://www.tridion.com/ContentManager/5.3/CompoundTemplate">
  <TemplateInvocation>
    <Template xlink:href="tcm:43-2242-2048" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:title="Generate dynamic component" />
    <TemplateParameters>
      <Parameters xmlns="DD4T.Templates.Schemas.DynamicDeliveryParameters">
        <MergeAction>Replace</MergeAction>
        <LinkLevels xmlns="DD4T.Templates.Schemas.DynamicDeliveryParameters">4</LinkLevels>
        <ResolveWidthAndHeight>yes</ResolveWidthAndHeight>
        <PublishEmptyFields>yes</PublishEmptyFields>
      </Parameters>
    </TemplateParameters>
  </TemplateInvocation>
  <TemplateInvocation>
    <Template xlink:href="tcm:43-2230-2048" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:title="Publish binaries for component" />
    <TemplateParameters>
      <Parameters xmlns="DD4T.Templates.Schemas.DynamicDeliveryParameters">
        <LinkLevels xmlns="DD4T.Templates.Schemas.DynamicDeliveryParameters">4</LinkLevels>
        <ResolveWidthAndHeight>yes</ResolveWidthAndHeight>
        <PublishEmptyFields>yes</PublishEmptyFields>
      </Parameters>
    </TemplateParameters>
  </TemplateInvocation>
</CompoundTemplate>

In My page, I have component Which is associated with this component template. In the component I have List of Component (4 component, In turn each component has 5 Fields). enter image description here

but when I run the application, it shows field are 0. Visual-Studio-Component-Info I have tried publishing unpublished many times. still i am not able to get the solution

Please help me to understand, What i have done wrong, and also is there any guidelines or documents to address such issues/common troubleshooting for DD4T.

  • When you preview the published dd4t xml (publish preview in tridion GUI), do you actually see the fields, or not ? – Harald Hoffelinck Oct 22 '14 at 7:17
  • Can you see the fields in the XML stored in the PAGE_CONTENT table in the Content Delivery database? – Rob Stevenson-Leggett Oct 22 '14 at 8:48
  • @RobStevenson-Leggett I have checked the XML in the Page_COntent of DB, it showes empty "<LinkedComponentValues />". Please help me out – Ravi Gadag Oct 22 '14 at 8:53
  • Are you sure you republished the page? Is your Component Template checked out when you published so new link levels are not taken into account? – Rob Stevenson-Leggett Oct 22 '14 at 9:38
  • 1
    You say the linkedcomponentvalues xml element is empty, this does not correspond to what you show in the debug window, which shows the linkedcomponentvalues has four elements. Is your publisher and your website storage config pointing to the same database? – Harald Hoffelinck Oct 22 '14 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.