Skip to Content
author's profile photo Former Member
Former Member

URL iView Needs Portal Role Parameter

I have created an iView using the Portal Archive The URL in this iView points to an External Web Application that needs Authentication from the Portal. So as parameters in the URL I would like to pass the User's Portal ID and Portal Role. I have figured out how to pass the Portal ID, but I was wondering if there is any User Context so that I can pass the role as well. Here is my url so far: > and this works.

Now is there something available so my URL can look similar to this: &role= >

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Feb 05, 2005 at 01:27 PM

    Hi Ashley,

    first the definite answer to your question is: No, such a parsable fragment does not exist for AppIntegrator.

    Second answer is a bit more differentiated: If a standard iView has not the possibility to be called with dynamic values or does not provide enough flexibility for the dynamic values which it provides (that's the case here), you have always the possibility to develop a proxy iView around it, which implements all the properties of the destination iView (and passes them through) plus the dynamic logic you need (here: determine the role of the user (but see below!) and add this to the parameter which ends with "role=". Such a proxy is implemented by an Abstract Portal Component within doOnNodeReady method and uses the redirect method of the IPortalComponentRequest.

    Last but not least: You have to define what you mean by "<User.Role>". Each user normally has different roles! So there is not one role to be determined. And an iView shouldn't be built to often in different roles (than you should build it once and use merging of roles). So at least be careful, traps are layed around you 😉

    Hope it helps


    PS: Please consider rewarding points for helpful answers. Thanks in advance!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 22, 2005 at 08:27 PM

    I am in a similar situation, but I can not get the Portal ID to pass to my external application.

    The url we are using is


    This keeps passing LogonUserId as a literal, not a variable. Any suggestions on how I can format the URL to pass the LogonUserId as a variable?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Have you considered using a system object with an alias for this? I'm not sure if you need for roles, but we currently have different servers as well, and the URL's point to a common alias like "SAP_R3", then we set that alias on the object for each landscape which points to a different server.

      Another way to 'skin the cat'?

      Just a thought.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.