Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3229

Re: Getting the properties of INavigationNode

$
0
0

Hi,

 

What code do you use to get the INavigationNode?

 

Try this:

 

Hashtable environment = new Hashtable();
environment.put(INavigationConstants.ENV_PRINCIPAL, request.getUser());
INavigationService srv = (INavigationService) PortalRuntime.getRuntimeResources().getService(INavigationService.KEY);
INavigationNode node = srv.getNode(  environment,  nodeId);

Example node id can be:

ROLES://portal_content/administrator/super_admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.content_admin_ws

 

 

Then try fetch attributes.

 

Best Regards,

Tal


Viewing all articles
Browse latest Browse all 3229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>