1

I have a component which has multivalued component link field and has 7 component links to it. When the component is published as part of a page, in broker db I see Fields be empty. "LinkedComponentValues": [ { "ComponentType": 1, "Fields": { },

Can anyone suggest what and where could be the issue?

2
  • It seems the linked Component is not expanded. What did you specify as LinkLevel parameter to the Generate Dynamic Page TBB? Feb 3, 2017 at 10:52
  • LinkLevel is mentioned 2
    – GVK
    Feb 3, 2017 at 20:36

2 Answers 2

4

If the Component is published as an embedded Component on a page using a static template, then this is correct. The Broker won't have anything for that Component in the ComponentPresentation table.

However, I wouldn't expect an entry in the ComponentPresentation table at all, but you seem to have a value of the boilerplate DD4T JSON, as you seem to indicate in your question. This implies the Component was published using a dynamic Component Template. Therefore, it is likely that there is an issue with your CT configuration.

Check that the proper DD4T Building Blocks are included in the CT. Also run the Component Template through Template Builder to help narrow down the cause.

1
  • 2
    I figured out the issue. The TBB was missing parameter schema "Generate dynamic component presentation". Once I added that, I got the required values in "LinkedComponentValues"
    – GVK
    Feb 3, 2017 at 20:39
3

I figured out the issue. The TBB was missing parameter schema "Generate dynamic component presentation". Once I added that, I got the required values in "LinkedComponentValues"

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.