Skip to Content

Open new portal window from .NET

Hello,

I am fairly new to the .NET PDK and am wondering how I can open a new window based on a LEAD_SELECTION of an SAP table control row. I have a list of POs and I want to open a new window with the details of that PO. I know how to open a new window but what would be the URL syntax that I would use? Any help would be greatly appreciated.

Thanks,

Tony

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2004 at 03:37 PM

    I understand you want to open a new (browser?) window

    Can you maybe clarify:

    1. what exactly do you want to show there? I mean - is this another iView in the portal? a different page? an html page in your project? a link to some other server (ourside the portal) or maybe a different portal component?

    2. You want this "opening of a new window" code to run in the client or in the server?

    I need this info in order to answer...

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Frank Gregg

      Well, try this:

      If it's a different iView in the portal (one that you didn't develop?) then you can get the basic URL using "preview" – Open the iView (from the content admin role), there click the preview button. This will open a new browser window to preview that iView. Right-click the new browser and select "properties". There you can see the URL. To this URL you can add the query information (using client code of course – just add "?X=y&N=M" etc’ at the end…). Note that if this will get you to that copy (or delta link) of that iView, which might cause it to loose context. (which might cause some problems...)

      Hope it works for you 😊

      By the way - you might want to consider putting the two iViews in one page and not opening a new window... I think its better that way (but it's up to you).

      by the by the way - you can add a LinkToUrl control inside each line of your table and use that to do the launching (instead of using the lead select).

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.