Hi All,
I need to fetch all the PCD Role properties programmatically.
To fetch all the properties of Iview/Page, I use the below code:
if(strClass_Of_PCD_Object.equalsIgnoreCase("com.sap.portal.pcm.iview.IiView"))
{
iViewAttributes = (com.sap.portal.pcm.iview.IiView) ctx.lookup(strSelectedContentFullPath);
eNum = iViewAttributes.getAttributeIds();
while(eNum.hasMoreElements())
{
String strPropertyName= (String)eNum.nextElement();
vector.add(strPropertyName);
}
for(int k=0;k<vector.size();k++)
{
wdComponentAPI.getMessageManager().reportSuccess(vector.get(k)+" = " + iViewAttributes.getAttribute(vector.get(k)+""));
}
}
What is the similar way to fetch all the properties of roles/workset?
Thanks,
Shilpa