Retrieving values of a linked component in Dreamweaver TBB - and making it SiteEditable

前端 未结 4 1361
孤城傲影
孤城傲影 2020-12-18 05:10

I am working on Dreamweaver TBBs in SDL Tridion 2011 SP1.

I am unaware of handling component links in Dreamweaver TBBs.

Consider my Component name is \"A\"

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-18 05:43

    You cannot read the fields from B using standard Dreamweaver templates. You will need to write a C# TBB to extract the linked Component and place it in the package as type Component. You then can use DWT syntax to read the fields from that component. Eg: @@linkedComponent.Fields.first@@

    Siteedit is problematic on this one and different versions use different syntaxes and capabilities. I'm afraid with the latest version you cannot edit such fields...

提交回复
热议问题