Open iView in New Window via Link

Hi,
I have created a link that opens an iView within a role:
<b>http://server:port/irj/portal?NavigationTarget=....</b>
Although, I have set the the iView parameter to <b>Open in Separate Window</b>, it is displayed within the portal content area. How can I achieve that the iView is opened in a separate window?
Thanks.
/Elvez

Hi Elvez,
So you want the user pressing the link, a new browser window opens with the portal, and from that, an additional window opens with the iView?! Hm, if it makes sense for you...
No, EPCM calls of course don't work within an eMail. And the solution you have implemented is the one to go, whether implemented as KM doc or as an iView rendering the JS.
Hope it helps
Detlev

Similar Messages

  • How to open iview in new Window

    Hi frnds,
    Can u help me plz, am trying to open iview in new window.
    i'v try to changed ivew property @ Launch in New Window = Display in Saparate Window but still @ my portal iview is displaying in Content Area only i want display in new window.
    And i tryed @ Sys.admin -
    > Sys.Config-->ServiceConfig-->Applicaitons ->com.sap.portal.epcf.loader
    Change workprotect.mode.default to 2
    still its getting in sam content are plz can u help out ASAP..
    ThanQ Vita

    Hi Richard,
    The property Launch in New Window = Display in Saparate Window should work. Try to assign the iView directly to the role and check. It might also be some cache problem. Try to navigate to System Administration>System Configuration>Navigation Cache.
    Clear them and check once again. Hope it might solve your problem.
    Regards
    Basha

  • JSF app - open report in new Window - via JSP?

    I have been reading through this forum but no one has done quite what I am trying so I thought I'd post my own version of this problem.
    The web app I'm working on is basically a report generator. Data is formatted via XSLT to .html files - that part works great. The problem is getting the app to open this new HTML file in a new window. I want to get this working with little or no JavaScript.
    startReport.jsp (a JSF file) is the form that validates the user input. The sole h:commandButton (I do NOT want a link) works fine sending the form and JSF returns its errors or mine (if the criteria results in nothing) as it should; the action method returns "failure" so the page stays the same.
    But when the action method returns "success" the JSF navigation-rule is setup to route to showReportFile.jsp (which is NOT a JSF file). This JSP is very simple:
    <%@ page import="java.io.File" %>
    <%@ page import="java.io.PrintWriter" %>
    <%@ page import="java.io.FileReader" %>
    <%@ page import="com.logipath.gict.cts.reporting.client.ReportClient" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
    <jsp:useBean id="reportClient" scope="session" class="com.logipath.gict.cts.reporting.client.ReportClient" />
    <%
    String fileName = reportClient.getReportOutputFile();
    PrintWriter writer = response.getWriter();
    char[] buffer = new char[1024];
    FileReader reader = new FileReader(fileName);
    int numRead = reader.read(buffer, 0, buffer.length);
    while ( numRead != -1 ) {
         writer.write(buffer, 0, numRead);
         numRead = reader.read(buffer, 0, buffer.length);
    reader.close();
    writer.close();
    File file = new File(fileName);
    file.delete();
    %>This works believe it or not. If I put the target="_blank" on the form tag in the startReport.jsp it even opens in a new window. Great. But with that attribute on the form element, if the page comes back in error - it shows up in a new window (as it is apt to do given the attiribute).
    Ok, the h:commandButton tag's target attribute is ignored. Fine. There has to be a way to do this but I just cannot figure it out and I'm no JSP expert.
    What I think will work is this. Since my report beans create HTML files, I've created a session bean called "currentReportBean" which holds a single attribute - the name of the HTML file to display. (This is how the JSP above works.)
    What I need to know now *(this is the question part)* is how can I flush the render response of my JSF life cycle, trigger the opening of this JSP in a new window, the restart the JSF life cycle at the begining so the "parent" page repaints normally? The JSP isn't part of the JSF page flow so I there's no "going back" or "refresh" to worry about. I would like to take the showReportFile.jsp file out of the navigation files altogether.
    I know this topic has been worked on at length, but not quite this way. Any help is greatly appreciated.

    arnieAustin wrote:
    No, the JSP resets the bean value after showing the file.My mistake; it wasn't the reload scenario that is an issue. It is when the user goes back and forth in history that this can be a problem.
    >
    But now I'm confused. JS cannot access server-based session values. How is it going to know to open the page? A cookie?Write the value to a JS variable when you render the page.

  • When clicking on links that open in a new window, the links don't open and Firefox freezes in a way. I can navigate the page I am on but cannot click to open a new tab or bookmark.

    When navigating the internet, if I come across a web page that has a link to open a picture or program in a new window, if I click on it, it does not open. Firefox immediately looses functionality in that I cannot open a new tab with the mouse wheel, right click to open a new tab, or use my bookmarks in either the drop down or toolbar to navigate away. I can usually still navigate the page that I am on, for example, (https://loanconsolidation.ed.gov/AppEntry/apply-online/appindex.jsp), when it freezes I cannot click on any of the content at the center of the page but I can still use the links from the list on the far left. For an example of the pictures, (http://www.insect-sale.com/), if you click on "New Arrivals" at the top of the page it takes you to a list of products that can only be viewed by clicking on them. Usually a picture of the item would open in a small window but it does not and Firefox freezes. This has also happen when I try a view a degree audit on a school's website where a program would usually open in a new window. The only thing I have been able to find that still functions properly when this happens is the home page button. I can click on it or use the wheel to open it in a tab just fine, but if I try and go anywhere else I cannot. The only way I can get Firefox back to normal is to use the Task Manager and end the process. Another thing I have noticed, that may or may not be related; is that my Norton Internet Security toolbar, that should show up below the bookmarks toolbar and above the tabs, only shows up about 1 out of every 10 times I open Firefox. Some days it doesn't show up at all. If it does show up and I log into Identity Safe, the autofill for the programed website works, even if the toolbar doesn't show up the next time I open Firefox.

    Go to Tools->Options->Apps
    Here you should see two columns: Content Type on the left, Actions on the right.
    Find and select excel spreadsheet or any other content type in the left column. There should be a corresponding action in the right column. What is it? You can use the drop-down list to select the option you want:
    Always Ask - Firefox will ask each time: What do you want to do with this file?
    Save file - Firefox will save this file to your computer
    Use - Firefox will give this file to the program to open it
    In case of saving, Firefox will either prompt you every time where you want the file to be saved, or save it to the default location. It depends on the preference in
    Tools->Options->General->Download

  • Open iView in new window in fullscreen

    Hi,
    I would like to open an (URL) iView in new window and maximize it size to expand on all the screen. Something like: width=100% height=100%.
    Unfortunatly, the window feature properties does not allow this, it only allows passing width and height in pixels.
    Does anyone has a solution for this issue? How to open iView in a new window in full-screen.
    Thanks in advance,
    Aviad

    Hi Aviad,
    You could set "fullscreen=yes" (without quotes) for the property called "Window Features" (technical name: "com.sapportals.portal.navigation.WinFeatures") on the navigation element in question (iView or, if existent, surrounding page). Take care, this opens the window without frame and toolbar (closable by ALT-F4).
    To get a 100% screen (with toolbar, frame etc), you have to calculate the clients resolution before, using JS for example. So you would need to build a workaround, for example an iView with no output but opening a new window with a certain NavURL as target.
    Hope it helps
    Detlev

  • Open iView in new WINDOW for CATW

    HI All,
    We are on Netweaver2004s and the browser used is either Internet Explorer 7 (Microsoft Vista) or Mozilla Firefox.
    Now what I need help on is that I have a link on my page that says "Report Your Time", this link calls the Internet Service CATW via the  ITS from my R/3 and opens the TIMESHEET (which is an iView) to be filled in by the user <b>in a new window</b>.
    On this TIMESHEET I have a link called as "EXIT" , now after the timesheet is filled and saved, the user should use this "EXIT" link to leave the window. The code behind "EXIT" is so written by SAP that it kills the user's session. But not always and all user's use this "EXIT" link, they generally close the window by browser's (X) close button. This causes the user to get locked in the backend.
    So far I have been able to trap the browser's (X) close button and kill the session by using "setOKCode('/nex')". This works fine in I.E 6 (which has no tabs) and if the user <b>closes</b> Mozilla Firefox from the top (X) close button of the browser.
    BUT, in I.E 7 and mozilla firefox, when the user clicks on "<u>Report Your Time</u>" link on my page, a new tab opens and the TIMESHEET is displayed on this tab within the same browser window, so after filling and saving the timesheet when the user closes the (TIMESHEET) <b>tab</b>, the session does not get killed and the user gets locked in the backend. Here, <b>if</b> the user had closed the entire browser window by using the  the top (X) close button of the browser, instead of just closing the <b>tab</b> containing the TIMESHEET, then his session would have been killed by my code.
    This is the code that identifies if the user has clicked on  top (X) close button of the browser. <b>But this code does not identify if a browser's tab is closed.</b>
    <BODY onbeforeunload="HandleOnClose()">
    <script language="javascript">
    <!--
    function HandleOnClose() {
       if (event.clientY < 0) {
          event.returnValue = 'Are you sure you want to leave the page?';
    In the above I check clientY property of the event object, which is used to set or retrieve the y-coordinate of the mouse pointer's position relative to the client area of the window, excluding window decorations and scroll bars.
    Is there a way to capture the closing of a browser's tab. A way by which I can trap the event raised when the browser window's tab is closed.
    This has to be done via "Java Script" since the code will be placed in the HTML template in SE80.
    Kindly help with your expert suggestions
    Regards
    Saurabh

    Hi Aviad,
    You could set "fullscreen=yes" (without quotes) for the property called "Window Features" (technical name: "com.sapportals.portal.navigation.WinFeatures") on the navigation element in question (iView or, if existent, surrounding page). Take care, this opens the window without frame and toolbar (closable by ALT-F4).
    To get a 100% screen (with toolbar, frame etc), you have to calculate the clients resolution before, using JS for example. So you would need to build a workaround, for example an iView with no output but opening a new window with a certain NavURL as target.
    Hope it helps
    Detlev

  • Open iviews in new window from detailed navigation context menu function

    hello,
    when we click in the detail navigation menu and in the context menu (because many of ours users are used to right click to open a link in a new window on the internet) on the functionnality "open in new window", the start page is always display instead of the corresponding iview ...
    could you tell me if there is a configuration into the portal to :
    1- suppress the function "open in new window" from the context menu in the detailed navigation !
    2- make the iview displayed into the new window really the iview desired !
    best regards,
    Olivier.

    Hi Olivier,
    The frist part is very precise. Not possible. Period. The reason is that the links are calling JS and not directly calling a http target.
    About the second part: Within the Light Framework, you create a Light Detailed Navigation. And in this case, the links are direct http links. So with that, you have what you want.
    For the Light Framework see http://help.sap.com/saphelp_nwce10/helpdata/en/43/0174a642406db7e10000000a422035/frameset.htm and around.
    Hope it helps
    Detlev

  • Open iView in new Window

    Hi
    I have added a new link in the xRPM screen from 'SPRO'. I want an iview to be opened in a new portal window on clicking this link. I have tried changing the property of view to ' Launch in a Separate Window' but it didnt work.
    Page ID in SPRO : pcd:portal_content/View/view1.
    Is there any way that i can open a new portal window on clicking this link.
    Regards
    Puneet

    look at this link
    iviews and pop up window

  • Open iView in new window with no IE nav

    Using EP6 SP2:
    From the third level navigation, I need to open an iView in a new window.  The trick is that I need the new window to not have the standard IE navigation buttons.  Basically, window.open("http://my.url.com","toolbar=no").
    I cannot figure out how to do this within the standard navigational structure.  The url that I am linking to is outside of the portal, but it is using an SSO logon ticket to authenticate.

    Write a html page that opens the url like you want it.
    Put this html on a km folder and make a km-document iview to it.
    Message was edited by: Rob Hiddinga
    I just thought of a better way:
    just make an iview to the website and put your options ( fullscreen=yes) in the propertie Window Features
    Let us if this solved your problem

  • Preview iView / Open iView in new window not properly working

    Hello,
    I've got a question regarding previewing an iView (by pressing the "Preview" button in its properties) or opening an iView in a new Window by clicking on a button for instance. The problem is that when the window is opened, the iView cannot be displayed and a Portal Runtime exception is thrown, with the message "Cannot find iView" iView: N\A. This is very strange, since sometimes it works, when i test it on a different browser, but even on the same browser on which it works , sometimes it still fails, and displays "Cannot find iView". Does anybody have any clue what this problem can be? Basically it happens most of the time, but sometimes (randomly?) it works. I guess it may be a problem with caching, but i haven't resolved the reason yet. Thanks very much.

    Try playing around with the load settings. Specifically, try turning off client-side caching, your browser might be getting confused depending on the kind of iview you are previewing.
    A couple of questions:
    1. What kind of iview is it?
    2. Does it work if you stick it on a page and preview the page?

  • Opening IView in new Window

    Hello SDNers,
    I hv a Par IView which on click will navigate to specific internet site.
    The IView takes me tht internet site.
    However, I want to open the target content in a new window rather opening in a content area or the desktop inner page.
    My code goes here like this :
    <p> <a href="http://www.abcd.com"><img src="<%= componentRequest.getWebResourcePath() + "/images/Sampleimage.gif" %>" border="0"></a>
    Anybody has an idea on the same ? Please, help me where I went wrong ?
    Thanks for your time. Looking forward to your repsonses.
    Kind Regards,
    RK.

    Hi Ravindra,
    The portal gives you the opportunity to open an iView in any size window you want (just like window.open, as Preveen mentioned).
    First, if you are navigating to the iView from another iView, simply use the EPCM.doNavigate() method with the proper windows features parameter -- see http://help.sap.com/saphelp_nw04/helpdata/en/26/71c74030308431e10000000a1550b0/frameset.htm.
    Second, even better, these window features can be supplied in the iView properties, so you can easily set up a DTN where you get your iView in a new window, and the window can be 100 x 200 pixels without and minimize button, or whatever. The properties are under the Navigation category.
    Daniel

  • When I open a link in a website it opens as a new window instead of just staying on the same page

    In any website, when I click on a link it opens in a new window.this even occurs in google when I click any of the results it opens in a new window instead of just staying on the same page.tabs work fine however, it is just links on websites.

    Did you check the search settings on the Google Search Settings page?
    * http://www.google.com/preferences?hl=en
    ''Where results open: Open search results in a new browser window.''
    You can set the browser.link.open_newwindow pref to 1 to open links by default in the current tab.
    *http://kb.mozillazine.org/browser.link.open_newwindow (3)
    You can set this pref to 0 (zero) to do this for all widows opened via JavaScript.
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction (0)

  • I want Links to open in a New Window, NOT a New Tab (FireFox 31.0)

    Internet Explorer has an "Options" setting to open new tabs in a new window instead.
    Where can I find it in FireFox - looks like there is none ???
    Older versions had it, I believe.

    The setting in Tools > Options > Tabs: "New pages should be opened in": "a new tab/window" is for links that specify a target window to open the link.
    That option allows to divert such links to a new tab instead of a new window.
    Links that do not specify a target always open in the current tab unless you override that with a middle-click or Ctrl left-click (new tab) or Shift left-click (new window) or via the right-click context menu.
    JavaScript running on the page or an installed extension can also change (override) the default behavior.
    This applies to bookmarks and other links as well, i.e. you can middle-click the View Image item in the right-click context menu of an image or middle-click the Reload button on the location bar to get a new tab with that link.
    Left-click a JavaScript link (e.g. you see "#" on hover) to avoid getting a blank tab.
    *http://kb.mozillazine.org/browser.link.open_newwindow
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction

  • Force iView to open in a new window when using NavigationTarget

    Scenario - Portal Version 6.0 - NW2004  SP16 - WAS 6.40
    A Custom iView is used to gain access to an application running outside of the portal.  The user's credentails to the target application are recorded in the portal's UME via user mapping.  
    I want a user to be able to click a hyperlink to this iView that has been embedded in an email, and have the user gain access to the target application by 'going via the portal'.  The url that I use is of the form:
    http //<my_portal_server>/irj/portal?NavigationTarget=navurl://49a8add355f836061e6279f389cdc72e&open=/page&id=100&proc=10067&flag=1
    This is working, the user is first taken to the portal's login page, and upon successful login to the SAP portal, user is then directed to the target iView, and is logged in automatically to the target application, and able to use the target application.
    >BUT EVEN though the iveiw is configured to open in a new window it does not. It always opens in the main content area, and it always opens in this area in a height of about 40 pixels.  The iView properties are set to FULLPAGE.
    >If I invoke this iView using the portal's standard built in navigation, it does open in a new window
    >It just won't open in a new window when using direct URL to the iView WHY?
    How can I get the target iView to open in a new window under all circumstances?
    Do I need to pass more information in the URL?
    Are there a standard list of URL parameters somewhere that influence the behaviour of the NavigationTarget?  I have seen reference to 'context', 'mode' etc but can't find a list of valid parameters?

    Hello justaquestion1112,
    Thank you for your post.
    You should know that these forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Please visit the following Acrobat forums for any questions
    related to the Acrobat family of desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/
    Cheers,
    Pete

  • When I open a new link or bookmark I want it to open in a new window not a slew of tabs so I can see which sites I have open.

    I'm sorry if I'm not using the correct terminology. When I open a new window or a link I want it to open a whole new window so I have 500 open FireFox tabs in my taskbar if I open that many windows. I do not like having everything open in one window. Used to be I could find how to undo that but you changed everything on me and now only rocket scientists can use your application. If Chrome and Internet Explorer weren't so ridiculous, I would change. Thank you for any assistance you can provide.

    This didn't help me at all. I want a separate window to open each time I open a new tab or bookmark. Currently when I open a new link it just adds a tab to the window already open so from my non-technie point of view, I only have one window open and have to go up top to see what is open vs. being able to look below in my taskbar and see what I have open.

Maybe you are looking for

  • Life Simulation ~~ Lost in Too many Else/If clauses ~~ Weird Exceptions :)

    Hello I decided to code the "Simulation of Life" problem (It is such a common sense algorithm, I feel if I write down the rules here I'll be flamed for assuming readers are not educated enough :S ) My String array is a 20 by 20 area. Living cells are

  • FM for Cube Rows

    Hello Gurus!!! I am needing via ABAP check the quantity of LOGICAL registers in cube... something like transaction LISTCUBE performs when we check "Output number of hits" and summarize. I do not want physical registers in dimensions nor fact tables.

  • G5/OS X 10.4.8 - unexpected shut downs

    I'm running a G5 Dual 2.0 PowerMac and in the last few days, when running certain programs, the machine totally shuts down. It first happend with Lightroom. Whenever I try to run the slideshow feature and press 'Play', it shuts off. Today it happened

  • 10Gb Networking best practices

    I'm looking for good guidance on Hyper-V 2012 R2 network configuration best practices for a converged server. Meaning, dual 10Gb NICs and using SMB 3.0 file shares for storage. The servers also have two 1Gb NICs. I'm very familiar with VMware, but ra

  • Custom (not HP's) EVA storage management pack

    Hello, I have found this management pack http://www.systemcentercentral.com/pack-catalog/hp-eva-performance-management-pack-v3/ for monitoring HP EVA P6000, thanks for authors, but discoveries are not working, I have SCOM 2012 R2 and HP CommandView i