Skip to Content

How can I see that a BSP is running as IView?

Hello,

I have a question that seems very easy.

I have a bsp that is running "standalone" or sometimes as a iview. Depending on the environment I have to build different links.

How can I see on the server that a BSP is running as IView?

Thanks for help!

Best regards

Renald

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Dec 21, 2004 at 12:01 PM

    If the bsp is running as iview, the attribute runtime->portal_version has the value '6.2'. If the BSP is running standalone the attribute runtime->portal_version has the value '0.0'.

    I think this is the solution for me.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 21, 2004 at 11:04 AM

    Check whether document.referrer can help. (This will tell you from which page user has come into the current page) In a portal scenario they would have navigated to this BSP iview.

    How to use document.referrer ? check out this link.

    http://www.netmechanic.com/news/vol4/javascript_no14.htm

    Regards

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 21, 2004 at 11:29 AM

    Hello Raja,

    thank you very much for your reply. I had the idea to use the "opener" or "parent".

    Unfortunally I can not see this objects on the server. Ofcourse I can write the needed values in a hidden input-field and send it to the server, my hope was to find a better solution. In values like referrer I can find the url, so I have to build a mapping which url is a portal and which url is not.

    Perhaps we can find a better solution.

    I found the attribute runtime->portal_version a few minutes ago and try to figure out if this value will help me.

    Best regards

    Renald

    Add a comment
    10|10000 characters needed characters exceeded

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.