WebSphere Portal Server - How to retrieve custom unique names using Portal API?

This is Interesting: Free IT Magazines  
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?

2006-08-24, 1:44 pm

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!

2006-08-24, 1:44 pm

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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com