Call iview in new window

Hi.
I am trying to call iview in new windows from other iview.
So, I wrote code this.
<A HREF="myLink"
  onclick="return EPCM.doNavigate('ROLES://portal_content/office/iviews/com.hho.newmail_iv',1)">
This is an HTML Link
</A>
When we click Link, new windows opened and displayed iview with portal frame (header, menu).
I want to display iview without portal frame.
Anybody know how to this ?
Regards, Arnold.

Hi Arnold,
The EPCM.doNavigate('target') takes several arguments, one of which let's you specify to open in new window.
EPCM.doNavigate('target',2)
0 (or missing): Same window
1: New window without navigation
2: New window (with navigation)
The API is defined as:
EPCM.doNavigate(String target, [int mode, String winFeat, String winName, int history, String targetTitle, String context])
Also u can try this link for more details
http://help.sap.com/saphelp_nw04/helpdata/en/18/3fb84033a8b533e10000000a155106/frameset.htm
Hope this helps...
regards,
Vinoth

Similar Messages

  • 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

  • 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

  • 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

  • Strange behavior when opening ESS iview in new window

    Hi all,
    I have a problem that i find very strange. In ESS, when opening a iView in a new window, for some users the link to the ITS service gets corrupt..
    An example:
    http://XXXXXX:54500/irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?iview_id=pcd%3Aportal_content/com.ericsson.Ericsson/com.ericsson.ESS/com.ericsson.roles/com.ericsson.EP_ESS_HRMS/com.ericsson.personal_information/com.ericsson.previous_employers/com.sap.pct.ess.persinfo.pz28&iview_mode=defaultNavPathUpdate=false&buildTree=false
    If you look at this link you can see that the & sign between iview_mode and NavPathUpdate is missing and makes the launch of the iview will fail.
    If I use the same link for opening the page in a new window this error does not appear.
    I have tried to change the parameters that are passed on but this does not help..
    Any ideas?
    Cheers,
    Max

    Has anybody found a solution to this?
    We have the same problem when calling BW Reports.
    Best regards,
    Manuel Schaffner

  • Opening of IView in New Window

    Hi All,
    I have iView which is common to two different roles. In both roles I have to open in the same window but since a link cannot be provided with two different PCD locations. I want that iView to be displayed in a new window.
    So on click of link how we can open an iView new window?
    My other question is how do we workaround the problem i'm facing as i want that open the same link for two different roles. if i assign the iView to different role and call it then I'm affecting my Detailed navigation view. which i don't want to get effected.
    Please consider it urgent
    Regards
    Srikant

    Hi Srikant,
    In one of the iview property u can specify that open in new window.
    What i would suggest for ur porblem is that use EPCM.doNavigate as the href when u click on the link...
    Syntax
    <A HREF="myLink" onclick="return EPCM.doNavigate('target')">
    This is HTML Link</A>
    The navigation target specifies the location of an iView or a page in the current user role. The target can be obtained from the portal catalog as a value that is concatenated by folder id s, roles or other objects.
    The navigation target has to be prefixed with the corresponding navigation connector name that is used for retrieving the navigation structure. When accessing iViews and pages in the role from the Portal Content Directory (PCD), you have to add the prefix ROLES:// to the URL.
    Example:
    We have created a custom role (MyRole) and assigned an iView (MyIView) to it:
    portal_content (root folder)>>MyRole (folder)>>MyRole (role)>>MyTest (folder)>> MyIView (iView)
    The corresponding navigation target is:
    ROLES://portal_content/MyRole/MyRole/MyTest/MyIView
    Also u can try this link for more details
    http://help.sap.com/saphelp_nw04/helpdata/en/18/3fb84033a8b533e10000000a155106/frameset.htm
    Regards
    gEorgE

  • IView in New Window - fully maximised

    Hi
    I am using EP 6.0
    I have several iviews created. When i click them, they open in a new browser window but this new browser window is not maximised.
    I want  that the new window should be maximised to the full screen size.
    I have tried chanding the properties of iview width & height , but i cannot ensure that the new window is of the full screen size.
    Any help in this regard will be appreciated. Thanks
    Vikram

    Thank a lot Prathamesh, it worked perfectly
    I put the following value to Windows feature property of an iview ( i wanted the url and meny bar to be displayed as well)
    menubar=yes,location=yes,toolbar=yes,resizable=yes,top=0,left=0,width='screen.availWidth', height='screen.availHeight'
    Also i have found out that this property works just like the windows.open javascript function and supports all the parameters that are compatible with the windows.open function.
    Thanks again for ur help.
    Regards
    Vikram

  • Open Portal Transaction iView in new window *without* Browser window

    Hello,
    Currently i am testing to use the single-sign-on functionality of the portal to launch the SAP GUI for Windows.
    I created some Transaction iViews and they work perfectly without having to log in.
    To use the full GUI size of the SAPGUI in the iView, i configured it to open up in a seperate window. This also works perfectly, but when i let a colleague test the setup, i realized that he has some additional toolbars, which in return decreased the usable space in the browser window for the SAP GUI.
    Now my question is:
    How can i configure the Transaction iView to open up the given transaction in the SAP GUI, but without the surrounding Browser?
    Is this even possible?
    I test this because my comany is searching for a solution to use SSO with the SAP GUI. Since we have the portal we test if we could use it to realize this requirement without generating extra costs.

    Hi Armin,
    for iView (page) you probably set the property 'Launch in New Window' to value Display in Separate Window. To tune up the other otions you have the possibility to set the property Window Features, value should contain toolbar=no. These features will be used when Javascript opens up your window - you can apply any option coomonly documented. IMHO for your demands the best option is fullscreen=yes,toolbar=no - you get really the maximum possible size.
    Regards,
    Pavol

  • 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?

  • 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

  • Call subcontroller in new window

    at the moment, i show a subcontroller in the middle of my page like this
    <bsp:call url  = "myController.do" comp_id = "abc">
      <bsp:parameter name="mr_object"
                     value="<%= controller->mr_object %>" />
    </bsp:call>
    Now I would like to open the subcontroller page in a new window. I usually did this with
    window.open("myController.do?parameter1=value1");
    But now I am not sure how to pass parameters to the newly opened page. I know it works with simple parameters, but I assume that it won't work with references. Is that right? Is there another way?

    Hi Daniel,
    yeah you are right it does not work with references. I would do the following. Store the object the subcontroller has to access in the application class and pass the name of the attribute and the attribute which should get the reference as a parameter.
    window.open("myController.do?name=controllerAttribute&value=applicationClassAttribute");
    This makes is possible for the subcontroller to access the objects in the application class dynamically.
    regards
    Thomas

  • 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

  • Launch iview in new window: howto rename browser window name?

    Hi all,
    When I open an iview in a new window, I would like to set the visible window name to the name of the iview, instead of just "SAP Enterprise Portal 6.0". Any suggestions?
    I am working with a SAP Transaction iView (windows gui).
    Cheers,
    faB

    You have to write another wrapper custom iView to launch SAP Transaction iView. The wrapper java iView will generate URL for the SAP Transaction iView (PS: How to generate URL for an iView in PCD. ) and Open the URL in a new window using a javascript -
    WindowObjectReference = window.open(strUrl, strWindowName [, strWindowFeatures]);
    PS: Reward points if the answer is useful.

  • How to open URL iView in new window

    HI,
    We are not able to open the URL iView, which is assigned to page, in new window.
    We set the property "Launch in New Window" to Launch in Separate Window but no use.
    Please let us know the solution
    Thanks

    Hi Tatayya,
    Remove the delta-link that you have done for that iview to the page. Change the necessary settings on the iview level (skip this part if you have already done). Then re-"delta-link"the iview to the page and test if it open in a different window.
    Could also be your cache, so go ..navigate via Sys adm--> Navigation -> clear cache.
    Hope that helps.
    Ray

Maybe you are looking for

  • Can not see the data in the grid

    Hi, nice to see the new features, but I can not see the the table inserts in the data grid - the <data> rider is not clickable. Regards

  • Importing the Chinese language

    Hello colleagues, I have a problem with importing the Chinese language into the customer's system. Setup: classic 3 system landscape ECC 6.0 on Windows X64 / SQL Server 2005. Defined clients on development: 302 & 303, acceptance: 200 & production: 10

  • Left Panel Help

    I have had premiere for a long time and I was wondering a couple things I can't seem to find online. How do I change the resolution in the display on the left and how do I get the left part back? I seem to exited it out first.

  • Making QT Movie in IPhoto???

    I have a lot to learn. Can anyone tell how Iphoto can render a QT Movie of a slide show with such a reduced file size. They are unbelievably small. I can't come anywhere near achieving the small file size of an IPhoto movie using Final Cut Pro. How i

  • Min order quantity issue

    hello gurus, we have a problem here about minimum order quantiy, we have a part where it has to be sold in a minimum order quantity of 10, when i maintain that in material master it applies to every order, problem is when some customers order that it