Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Send parameters to com.sap.km.cm.navigation component via URL

Hi people,

I have created an AbstractPortalComponent that, after some processing, generates an URL for the KM Navigation Component, opening a particular KM folder via request.redirect() method. Below is an example of this URL:

<b>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation/documents/en/Information</b>

It works fine. However, it always displays the KM Folder using the default LayoutSet. I tried to send the LayoutSet name via request parameter (of course using the same name as in a regular KM Navigation iView) together with the URL above, but it does not work:

<b>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation/documents/en/Information?<u>rndLayoutSet=ConsumerExplorer</u></b>

Have you guys faced similar issue before?

Thanks in advance

Fernando Urzedo

replied

Hi Fernando,

Probably already a presentation setting on the folder is set. In this case, since the folder settings have a higher priority than the iview settings (in NW04(s)), the iView parameter is not taken into account. More details on http://help.sap.com/saphelp_nw04/helpdata/en/25/59bb2eece725498427334e0e21b80c/frameset.htm

You could try to overcome the situation by using the parameter "layoutSetMode=force", which assures that the iView parameter overrules all other settings.

Hope it helps.

Kind regards,

Roland

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question