on 11-26-2010 11:53 PM
Hi,
I am trying to develop a Web Dynpro application which will return the NavigationNode of a logged in user.
I created a navigationService object as shown below
INavigationService navigationservice =
(INavigationService) PortalRuntime.getRuntimeResources().getService(
INavigationService.KEY);
I created a HashTable object with
environment.put("User", anIUser.getUniqueName());
environment.put("NavigationPrincipal", anIUser.getUniqueID());
After this, when i try to get the initial nodes,
navigationservice.getInitialNodes(environment)
i am getting the following the error
com.sapportals.portal.navigation.NavigationService.getInitialNodes(NavigationService.java:1726)
com.sapportals.portal.navigation.NavigationService.getInitialNodes(NavigationService.java:358)
com.sapportals.portal.navigation.cache.CachedNavigationService.getInitialNodes(CachedNavigationService.java:137)
What would be the problem here?
When putting getSAPUser inside the hashmap, it works.
environment.put("NavigationPrincipal", clientUser.getSAPUser());
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.