|
Home > Archive > WebSphere Portal Server > August 2006 > How to retrieve custom unique names using Portal API?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to retrieve custom unique names using Portal API?
|
|
|
| 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!
| |
|
| 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
erwinka@optinity.com
|
|
|
|
|