I have a DD4T Component Template which contains 2 TBBs:
- Publish Binaries For Component
- Generate Dynamic Component
Both of these have the DD4T TBB parameters attached, and in this particular template, I only want top level binaries (ie those from the component I am publishing), but do want to dig about 3 levels deep into linked components for content. I set the
LinkLevels parameter to 1 for the first TBB and 3 for the second. The problem is, in the rendered
Output it only links one level deep for content.
I guess that somehow the second TBB is using the parameter values from the first (although I didnt debug it yet to find out), as if I increase the first TBB's
LinkLevels parameter up to 3, the 2nd TBB generates 3 levels of linked content. If I remove the first TBB altogether it also works fine.
Has anyone experienced this, or have a good explanation for why its happening?