Discussion:
How to retrieve custom unique names using Portal API?
(too old to reply)
p***@tw.ibm.com
2006-08-24 07:21:31 UTC
Permalink
I'm currently working with WebSphere Portal 5.0.2 and trying to define a new markup which can return the whole portal menu tree with each node represented by its associated custom unique name.

I use classes from packages "com.ibm.portal", "com.ibm.wps.model", and "com.ibm.portal.navigation" to traverse the menu tree. But I don't find any relevant API which can be used to retrieve a menu node's custom unique name.

Does anyone have a solution for this? Thanks!
e***@matrix.co.il
2006-08-24 09:42:56 UTC
Permalink
Hi,
You can get it from ObjectID.

uniqueName = wpsNavNode.getContentNode().getObjectID().getUniqueName();

wpsNavNode is from theme, but if you have the ObjectID you have the uniqueName.

Erwin Karbasi
Development Architect
***@optinity.com

Loading...