Skip to Content
0
Former Member
Sep 16, 2005 at 03:59 AM

Can't access portal component property

16 Views

Hi,

I cannot seem to access the description and name of an iview. However, i am able to get the pictogram name. What could be wrong with my code?

uri.setContextName(pcdURL);

String iviewURL = uri.toString();

IPortalComponentContext myContext = request.getComponentContext(pcdURL);

IPortalComponentProfile newprofile = myContext.getProfile();

String pictogram= newprofile.getProperty("com.sapportals.portal.navigation.Pictogram").toString();

String iviewDescription =newprofile.getProperty("com.sap.portal.pcm.Description").toString();

String iviewName = newprofile.getProperty("com.sap.portal.pcm.Title").toString();

Thanks in advance,

Raj