I am writing a GUI extension and using the Anquilla structure to get a list of Keywords in Category . I get an XML document for a list of keywords, and then work with this document in my extension.
My problem is that the returned XML does not contain the value of the Description keyword. I have a title and key, etc.
My source code is as follows:
var category = $models.getItem("CATEGORYTCMID:); var list = category.getListKeywords(); list.getXml();
A typical node is returned:
<tcm:Item ID="tcm:4-1749-1024" Type="1024" Title="rate_one" Lock="0" IsRoot="true" Modified="2012-12-17T23:01:59" FromPub="010 Schema" Key="rate_one_value" IsAbstract="false" CategoryTitle="TagSelector" CategoryID="tcm:4-469-512" Icon="T1024L0P0" Allow="268560384" Deny="96" IsNew="false" Managed="1024"/></tcm:ListKeywords>
So, I tried using a filter to give me additional information about the columns:
var filter = new Tridion.ContentManager.ListFilter(); filter.columns = Tridion.Constants.ColumnFilter.EXTENDED; var list = category.getListKeywords(filter);
Unfortunately, this gives additional XML attributes:
IsShared="true" IsLocalized="false"
I would really like the description to be part of this XML without creating a Keyword object from XML. Is it possible?
cough any ideas? cough
tridion tridion-2011
johnwinter
source share