5

I have a Component which contains category keywords as a drop down field. Editors can choose the desired keyword from the drop down. Following is the component source:

<Filter xmlns="uuid:ceca6b4d-5ffa-4012-ab77-2b6c9fdb0ab0">
   <Languages>
       <Language_Names>
           <Language_Name xlink:href="tcm:201-24156-1024" xlink:title="English" xmlns:xlink="http://www.w3.org/1999/xlink">English</Language_Name>
       </Language_Names>
       <Language_Names>
           <Language_Name xlink:href="tcm:201-24183-1024" xlink:title="Arabic" xmlns:xlink="http://www.w3.org/1999/xlink">Arabic</Language_Name>
       </Language_Names>
       <InputBox_Type>DropDown</InputBox_Type>
   </Languages>
</Filter>

In DWT I want to read TCM ID of the keyword. It seems I need to write a C# Template Building Block.

Is there any code reference available which will help me to start my C# TBB?

Is there any Tridion extension which will give me the TCM ID?

5

You just need to read your component with the correct ReadOptions. See: How to Get Keyword from Metadata or Item XML Using Core Service and Getting additional keyword information from item Xml?

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.