cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation Nodes in WPC

Former Member
0 Kudos

We have built several sites using WPC. We have some that we want to link to a sub site of "Home" page. When you select that link you get the "Home" page and the navigation node for that area. What happens if you build the navigation nodes from the main site you get all nodes for all sites at the second level navigation. I want to be able to switch navigation nodes depending on where I am taking the end user. Is there a way to do that?

Accepted Solutions (0)

Answers (1)

Answers (1)

hofmann
Active Contributor
0 Kudos

Hi,

if I understand your requirement correctly, you do have:

Home

- A1

- A2

B

- B1

- B2

C

- C1

- C2

and what you want to have is that the uesr clicks on home and he will only get:

Home

- A1

- A2

and when he clicks on B:

B

- B1

- B2

and no other navigation point will be shown?

br,

Tobias

Former Member
0 Kudos

Yes - Do you know how to do that?

hofmann
Active Contributor
0 Kudos

Hi,

as the other links are part of the TLN of the user, by default the TLN of the portal will show all links.

Best way is to code your own TLN that will only show the current active link + its sublinks.

http://help.sap.com/saphelp_nw70/helpdata/en/42/f6fa9bca241a61e10000000a422035/content.htm

ifNavNodeEqualsSelectedNavNode gives you the selected navigation node and from there on you can explore the underlying nodes:

ifNavNodeInSelectedPath

br,

Tobias

Former Member
0 Kudos

Thanks for your help. I knew it would not be easy.