Skip to Content
0
Former Member
Feb 14, 2006 at 12:56 PM

Portalnavigation & URL parameters

24 Views

Hi all,

I have some questions regarding portal navigation and passing parameters in URLs. Hope somebody can provide some help.

<u>Situation (EP6 NW04 SP15):</u>

We have a custom developed (by 3rd party) iView which shows some content from a backend system (non-sap). The content is delivered through the portal server so no direct connection from client to backendsystem.

What we now want to do is create some "deeplinks" to this iView, so that some specific content is showen directly without the need to navigate within the iView.

Currently the iView dynamicly creates links for navigation within the content by generating a static href to:

/irj/servlet/prt/portal/prtpos/pcd!253aportal!255fcontent!252fevery!255fuser

!252fgeneral!252f[...]!255f[...]!255fnew!252fframeworkPages!252fframeworkpage

!255f[...]!252fcom!252esap!252eportal!252einnerpage!7b!3b1!7d.com!252esap

!252eportal!252edetailedNavigationTree!7bHideMode!7d_com!252esap!252eportal

!252edynamicNavigationArea!7bHideMode!7d_com!252esap!252eportal!252etargetsiView

!7bHideMode!7d_com!252esap!252eportal!252etargetsiView!255f!7bHideMode

!7d-/prttarget/com!252e[...]!252e[iView].content/prteventname/content/prteventdata/contentUri

!3d!252fcontent!252f230!252f230!26navigationgroup!3d/prtroot/pcd!3aportal_content!2fevery_user

!2fgeneral!2f[...]!2fframeworkPages!2fframeworkpage_[...]!2fcom.sap.portal.innerpage

([...] is a placeholder for some custom names which I do not want to post here)

This URL seems to be a liitle complicated...

According to information given in SDN and by SAP support a URL like http://myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole&myParameter=myValue

should pass myParameter to the target iView.

However we were not able to achieve the desired behaviour with a URL like this.

For example we tried with:

https://[host]:[port]/irj/portal?NavigationTarget=

navurl://7907b53f1ee20851ae34d6998e78b3af&&contentUri=%252fcontent%252f230%252f230

<u>Q1:</u> Are there any specific attributes for the iView we need to set so that myParameter is passed and received? Is there any special coding needed?

<u>Q2:</u> Is there any sample available with which I can proove that this feature is working and the target iView receives the parameters? I thought about creating a simple app which makes no other output but the received parameters. Is anything like this available allready or can somebody provide some coding (would be great and much appreciated)?

<u>Q3:</u> Any comments on the created URLs?

Thanks and kind regards,

Alexander Sperling