on 10-04-2005 3:34 PM
hi all
Im trying to display a link's description property in an iview.
How do i go about doing this?
Message was edited by: rinx
Hi Rinx,
You can create a Layout set and in your collection renderer add the cm:description field in Displayed Properties.
After that in your iview use this layout.
Patricio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patricio
Can you explain this by uing code/an example..
Where do I put in LayoutSet in the following code?
From what Ive seen in documentation/weblog, I currently have the following code to retrieve a description property of a link:
IPropertyName propertyname = new PropertyName(IWcmConst.SAP_WCM_NAMESPACE,IWcmConst.PROP_DESCRIPTION);
IProperty property = resource.getProperty(propertyname);
if(property != null){
//description exists
description = property.getValueAsString();
}else{
description = "";
}
Namespace should point to the link, right?
How would I do this?
Say that I have links in folder path : /documents/quicklinks/financelinks
In financelinks contains links to different locations in portal eg. link to "finance standard document"
Link "finance standard document" has a description : "xx"
I want to get this description.
I very much need some urgent help.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.