cancel
Showing results for 
Search instead for 
Did you mean: 

Where am I? (tell me the first and second level navigation levels).

Former Member
0 Kudos

Hello all.

I would appreciate it greatly if somebody could help me with some pointers on how to get information (in Java) on where a user is in the portal. The scenario is the following:

A user has navigated to some page in the portal (for example using a browser favorite) and I want to be able to render to the user what first and second level navigation menu points are selected/highligtet.

Is there a way to ask the portal for such information?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kim,

if you are using JSP you can easily render information about the navigation with the navigation taglib. Check the documentation:

http://help.sap.com/saphelp_nw04s/helpdata/en/42/f35146a7203255e10000000a1553f7/frameset.htm

An other possibility of course would be to directly access the NavigationService:

http://help.sap.com/saphelp_nw04/helpdata/en/43/d1233b4c1d0a85e10000000a1553f6/frameset.htm

Best regards,

Stefan Brauneis

Former Member
0 Kudos

Hi Stefan.

Thanks for your answer.

I know the taglib but it does not do the trick in my case.

What I have ended up doing is using the IPortalComponentRequest to get the component context and then looked it up via the navigation service (that you also mention).

This can give me the second level navigation node.

Thanks for your help.

Kim

Answers (0)