cancel
Showing results for 
Search instead for 
Did you mean: 

Why are parts of my navigation shown in Contextual Navigation Panel?

LutzR
Active Contributor
0 Kudos

Hi all,

we are currently trying to move from classic frameworkpage to AFP.

Now I found out that parts of my Detailed Navigation are shown as Contextual Navigation Panel (CNP) in AFP and I wonder why. I found out because I was unable to adjust our theme (see ) and because all 4th-level items are shown as "services" below all 3rd-level items.

AFAIK there is nothing special to the relevant parts of the relevant role. I think I scanned through all possible and impossible attributes without success.

So what makes navigation nodes appear as CNP and 4th level appear as Services?

Thanks a lot!

Lutz

PS: is doing so many great introductory blogs currently. How about a blog about CNP?

Accepted Solutions (0)

Answers (1)

Answers (1)

troy_cronin2
Active Contributor
0 Kudos

Hey Lutz

I hope you are keeping well and many thanks for using the SAP Discussion Forums .

Now regarding the scenario that you have described let us break it down together based on your description of the issue at hand.

  • You are trying to move from the CFP to the AFP. You found out that parts of your Detailed Navigation are shown as a Contextual Navigation Panel (CNP) in AFP. You found upon observation that you were unable to adjust the theme because all 4th-level items are shown as "services" below all 3rd-level items. So what makes navigation nodes appear as CNP and 4th level appear as Services?

Ok now firstly there are a few areas to touch base on here. Lets begin with the two framework pages of the classic framework page and the ajax framework page. Firstly in this instance you are moving from the Classic to Ajax therefore as we know there is a small "evolution" in terms of display and element makeup.

Now you've mentioned

  • parts of your Detailed Navigation are shown as a Contextual Navigation Panel (CNP) in AFP.

Ok the first point of analysis here is to check the "Detailed Navigation iView (DTN)" to see what the current configuration setting is maintained as. Is it configured to be displayed as a contextual navigation panel? If it is configured to "Contextual navigation panel" kindly try and change it to


  • : "detailed navigation iView" and then subsequently retest the behavior.

You can perform this check and review via the path below:

  • PCD Path: ppcd:portal_content/every_user/general/defaultAjaxframeworkContent/com.sap.portal.AFPpage

Now moving onto navigation nodes appearing as a CNP and 4th level nodes appearing as Services.  I've come across some noted issues in the past with similar scenarios which brought about documented note fixes such as:


When creating a content that contains navigation nodes with the same merge priority, same sort priority and even the same node name, it can on some occasions cause inconsistent nodes ordering because that the order in this situation depends on what will be the node order in query result from the database and this result changes from query to query. The Ajax Framework Page has a core capability called "State-Full Navigation", which maintains the latest visited node for future

navigation (within a session) so there are a few variations at play in such an instance.

From a high level perspective and process of elimination can you let me know:

  • Is this issue reproducible in all Web Browser Platforms?
  • Have the latest Patch Level Releases been applied?

Kindly update me as per your findings.

PS I believe you are correct and a blog posting on this topic would be a good point of reference, I'll get working on it and get it posted over the next few days.

Please note I will respond to this thread as soon as time permits.

Many thanks.

Kind Regards & Talk Soon

Troy Cronin - Enterprise Portal Support Engineer

LutzR
Active Contributor
0 Kudos

Hi Troy, thanks for shedding some light on this.

My AFP frameworkpage is just a copy of the original, so com.sap.portal.navigation.afp.visualizationMode was set to "Detailed Navigation iView".

There is no value named "Contextual navigation panel".

I switched this attribute to "Always Use Detailed Navigation iView". This resulted in 3rd Level beeing shown fine (no CNP theming issue). But forth level is still shown as a Services list below all 3rd Level items.

My intention is to leave the configuration of DTN on the standard value, because there might be some Business Packages relying on this functionality.

What I want to achieve is that this one specific role which shows up in CNP and produces the unloved services list works like all the other roles.

What can I do?

The role's history is that it was created in a 7.01 portal and imported to a 7.40 portal which is currently on SP11. The role contains loads of GUI transactions. Does this influence it's behaviour?

This issue shows up in all browsers.

Kind  regards,

Lutz

troy_cronin2
Active Contributor
0 Kudos

Hey Lutz

Absolutely no problem at all, it is my pleasure to help out.

  • Ok your AFP is just a copy of the original, so com.sap.portal.navigation.afp.visualizationMode was set to "Detailed Navigation iView". There is no value named "Contextual navigation panel". You switched this attribute to "Always Use Detailed Navigation iView". This resulted in 3rd Level being shown fine (no CNP theming issue). But forth level is still shown as a Services list below all 3rd Level items.

Now it appears we have made some progress here which is good news surrounding the 3rd Level. Regarding the services behavior you described it references similar behavior to the issue discussed and overviewed in SAP Note: 1835181: DTN displayed wrong when number of levels in TLN is 1.

Regarding the behaviour noted in the web browser platforms many thanks for the clarifications provided here as we can omit web browser platforms from our investigation in terms of being potential probable causes.

  • Could you kindly confirm if the entries are merged entries?

The default entry for folder never changes so anytime you click on the workset name

iview set as "Default Entry for Folder" this should be opened.

As you just switched the attribute display for the Detailed Navigation could you kindly follow the steps outlined below and clear the listed caches before retesting the behaviour:

  • PCD Cache: to clear this: Go to System-Administration -> Support -> Support Desk -> Portal ContentDirectory ->PCD Administration (Or Support >> PCD Cache release on 7.3+)
  • Navigation Cache: to clear this: System administration->Navigation->Navigation Cache And click on the Clear Cache button.(Or System administration >> cache management on 7.3+)
  • Browser Cache: to clear this Browser settings -> tools -> Internet Options# -> Temporary Internet Files -> Delete Files.

Regarding the GUI transactions I will perform some analysis on this internally to see if there could be a relation although I dont believe this would adversely affect the role display.

Reference Documentation

  • SAP Note: 1752462 - Navigation tab reording of Merged Roles is not working
  • SAP Note: 1811456 - 'Services' links always open in a new window in AFP
  • SAP Note: 1166135 - Central Note for Ajax Framework Page with SAP NW
  • SAP Note: 1774243: - Remove CNP view from DTN in AFP
  • SAP Note: 2028050 - When selected node in DTN is missing - DTN is not refershed anymore

Kindly update me as per your findings.

 

Please note I will respond to this thread as soon as time permits.

Many thanks.

Kind Regards & Talk Soon

Troy Cronin - Enterprise Portal Support Engineer

troy_cronin2
Active Contributor
0 Kudos

Hey Lutz

I'd just like to add the following as I accidentally omitted it from my first response.

In AFP, workcenter roles are displayed in Contextual Navigation Panel (CNP) view which have only two levels,

  • So items on the same level as leaf folder with related services are shown in the Services area.

Could you kindly try the following: Go to Detailed Navigation iView. For property 'Navigation Panel Mode' Select 'Always Use Detailed Navigation iView' to display workcenter roles in the Detailed Navigation view.

With this enhancement workcenter roles should in theory be displayed with Detailed Navigation view.

Many thanks.

Kind Regards & Talk Soon

Troy Cronin - Enterprise Portal Support Engineer

LutzR
Active Contributor
0 Kudos

Hi Troy, I am not sure if I understood everything right.

Our number of  levels in TLN is 2 (default). There were no uploads involved. So 1835181 is probably not relevant.

There is some merging going on but only on 1st and 2nd Level. No merging on levels 3 and 4.

I am still irritated that what is supposed to be a Freestyle Role is displayed like a Workcenter Role. I don't want it to be a Workcenter Role. And I would like to avoid to change parameters of my DTN iview because there might be other legitimate Workcenter Roles using CNP in future.

My intention with this freestyle role was to

  • display levels 1+2 in TLN
  • display level 3 (and nothing else) in DTN. Therefore I activated com.sap.portal.navigation.IsLeaf on all level 3 nodes
  • display Level 4 only in the Worksetmap iView on the inner page

This worked perfectly with Classic FP for years.

I will most probably open incidents because it is easier to disclose details there.

Regards,

Lutz

troy_cronin2
Active Contributor
0 Kudos

Hey Lutz

Many thanks for the response and update.

That is no problem at all, I will actively search for the Incidents logged and try to work with you on them in a bid to provide you with a quick resolution.

Kind Regards & All The Best

Troy