on 10-08-2009 11:59 AM
Hi All,
Please let me know a way to find out the current portal role from a web dynpro application. The scenario is like this, lets say I'm having a sample web dynpro application TestApp. Now this application is available under four portal roles Role A, Role B, Role C and Role D. Now whenever the application is being accessed through one of these four roles, I have to fetch the role and show the respective data. I hope this would give you a clear picture of the issue. Looking for some quick response.
Thanks in advance,
Ganpati Jha
Hi,
We can use the following API to get the current role:
IWDNavigationHelperService wdNavHelperService =
(IWDNavigationHelperService) WDPortalUtils.getService(IWDNavigationHelperService.KEY);
String navNode = wdNavHelperService.getCurrentNavNode();
Regards,
Ganpati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.