on 02-14-2006 12:56 PM
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...
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
Hi,
Have you tried setting the iview to "url isolation mode" and set the iview property "parameters to pass from page request" and tested out. I was able to work in such a manner. These properties can be found by opening up the Iview object in Portal Content.
Regards,
Harish
(Please award points for helpful answers)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Detlev,
ok - you're right. Q1 is solved, too.
So that would mean that the problem is the coding of the mentioned component. The URL parameters are passed to that component but they are ignored.
I thought maybe you have some comments on the way the links are created. Although I've not much experience in developing portal appliactions it seems that those URLs are more complicated than needed.
Regards,
Alex
Hi Alexander,
maybe you like ShortURLs or QuickLinks?! See http://help.sap.com/saphelp_nw04/helpdata/en/97/b0ef8b24a64ae884f0ab246e54cae5/frameset.htm and around.
Hope it helps
Detlev
Hi Detlev,
sorry, I don't get the point of your answer. ShortURLs or QuickLinks are a nice way to do things, but I talked about the links that are created within the iView (for navigating through the content).
But afterall this is something that we do not need to discuss here because the coding is not in my hand.
Nevertheless, thanks for your help!
Regards,
Alexander
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.