URL iView - Open in new window - User Action Independent

Hello Experts,
What has been configured:
I have built an I URL iview and set its paramater to open in a new window. I have assigned the iview to a role. I have also assigned a quicklink to the iview
Name: xyz
quick link: xyz
quick link url: https://<domain>/irj/portal/xyz
What has been tested:
When I log in to the portal using the test user ID and click (user action) on xyz the destination URL pops up in a new window as expected.
When I access the iview via the quick link it loads the destination URL in the same portal window (no pop up)
What do I need:
We will be using the quick link to get to SAP portal from another legacy portal and I want to hit the target URL as soon as I access the quick link without being taken to the portal page in which the target URL content is rendered. I also do not want to have the user click on the/a link to navigate to the target URL.
Things as they stand:
The destination URL is hitting a standalone WD ABAP object which is not hosted in SAP portal content. The SAP portal has to be used because the logon ticket issued by the portal is also used to login to the server hosting the WD ABAP.
Please let me know if you think this is something that can be achieved.
Many thanks,
Prashanth

Hi,
2. It is not possible to hide it completely or disable it. Give this a try:
Create a Static HTML page and create a link in that which will take you to quick link page/iview.
or you can create a custom application which will call the application underlying the quicklink on click of a link.
3.  For removing the History, Back and Forwards links in Page Title Bar, follow the below:
In Portal navigate to Content Administration - Portal Content - Content Provided by SAP - End User Content - Standard Portal Users - Open the Default Framework Page
With the Framework Page - you will find Page Title Bar iView - Open the iview and go to iView Property
Show Back/Forward Links and Show History List by default this setting is set to Yes. change teh setting to No and you will not be seeing those in the page title bar.
NOTE: If you make this change it is applicable to all other pages and iViews. So be cautious before making the change.
Hope this helps.
cheers-
Pramod

Similar Messages

  • URL iview opening in new window problem

    Hi All,
    I am using customized top level navigation (developed using byEPCM method).
    I  created URL iview and pointed "http://www.google.com" . (Launch in New Window = Displaly in sepearte window)  .I have assigned this  iview to a role as delta link. When naigating this iview, it is opening in new window. But it is showing "Permission Denied script error". And also, it is not displaying url as "http://www.google.com" .
    If I navigate via standard top level navigation, it is working fine. Please help to solve this problem.
    Thanks,
    Venkatesh R

    Hi,
    Check authentication related properties of iView. Make sure all of them are set to lowest level or none
    Regards,
    Ganga

  • Event triggered by iView Opening in New Window

    Hi Portal Developers,
    I'm trying to write an iView will exist as an invisible iView on the default framework page and listen for the event of an iView opening a new window. However, I can't find an event that distinguishes between an iView opening in a new window or an iView opening in the existing content area.
    For example, as a test to capture the event that is occurring, I have the following block of javascript that displays a message when a user navigates around in the Portal using some different Portal events.
    <script language ="JavaScript">
    EPCM.subscribeEvent("urn:com.sapportals:navigation", "*", onNewWindow);
    EPCM.subscribeEvent "urn:com.sapportals.portal:browser", "*", onNewWindow);
    function onNewWindow( eventObj) {
    "Got an Event from: " + eventObj.eventName);}
    </script>
    All this returns when a I click on an iView that opens in a new window is "Navigate", which is no different from when an iView is clicked that does not open in a new window. I've looked through the SAP-delivered javascript files and I've also done an HTTP Trace hoping to find exactly what is happening when an iView is launched in a new window.
    A trace I ran indicates that the js13_spcf.js file is called when an iView is launched in a new window. In this file, I see that there is a "mode" parameter that is passed to the "Navigate" event that I'm subscribing too. For the Open in New Window option, this seems to be set to a value of 2, which makes sense. Is there anyway I can read this "Mode" value of the event that is raised as I subscribe to the event from my iView? Any other suggestions are welcome as well!
    Thanks!
    Matt

    Hi Matt,
    For an iView opening in a new window to communicate with an iView on the default framework, a "bridge" needs to exist.
    That's where EPCMPROXY from epcfproxy.js comes into play.
    In the iView that is opening up in a new window, you can raise an event such as,
    var win_id = EPCMPROXY.getUniqueWindowId();
    EPCMPROXY.raiseEvent("urn:com.sapportals.portal:browser", "", "", win_id);
    Hope it helps,
    - Teecheu

  • JSP Dynpage iView 'Open in New Window' losses session data

    Hi All,
    I have a JSP Dynpage that displays some position holder information based on a position id passed in by the URL query string.  The problem that I am trying to solve is to allow the user to open the iView in its own window by using the 'Open in New Window' option from the button in the upper right of the iView title bar.  When this happens the URL query string is no longer available so the iView has problems.  My solution is to store the position id in the session object then read from that session object when the query string is not available - when opening in a new window.
    But what is happening is that the position id saved in the session object is no longer there when the new window opens.  I have looked else where on this site but all posts seem to deal with data transfer from JSP Dynpage to the JSP page.  This issue is dealing with a page getting re-opened in a new page (browswer). 
    I can't seem to get the session object to work between JSP Dynpages at all, I would think that the data put into the session would stay there untill either cleared or the session ends.  Am I missing some configuration settings?  I have included some of the key code below.
    // GET THE POSITION ID FROM THE URL QUERY STRING
    String PosId;
    PosId = request.getParameter("CKey");          
    if (PosId == null)
         myBean.testing = (String) request.getComponentSession().getValue("PosId");     
    else
         PosId = PosId.substring(6, 14);
         request.getComponentSession().putValue("PosId", PosId);
         myBean.testing = "POSID:" + PosId;
    Thanks for all ideas and help. 
    Don

    All of this logic is within the doProcessBeforeOutput event.  Here is all my java code and JSP...
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <hbj:content id="myContext" >
         <hbj:page title="PageTitle">
              <hbj:form id="myFormId" >
                   <jsp:useBean id="myBean" scope="application" class="MSSBeanPackage.HolderDetailBean"></jsp:useBean>
                        <% response.write("<br>xxxx-" + myBean.testing + "-zzzz<br>"); %>
                        <hbj:textView id="txtEname" text="<%=myBean.getEname()%>" design="HEADER2"/>
                        <hbj:textView id="txtPernr" text="<%='(' + myBean.getPernr() + ')' %>" design="HEADER3"/>
                        <hbj:gridLayout rowSize="1" columnSize="1" cellSpacing="2">
                                <hbj:gridLayoutCell columnIndex="1" rowIndex="1" width="100%" verticalAlignment="TOP">
                                  <hbj:group     id="grpContractData"
                                                 design="SAPCOLOR"
                                                 title="Contract Data"
                                                 tooltip="Contract Data"
                                                 width="100%">
                                       <hbj:groupBody>
                                            <hbj:formLayout id="myForm"
                                                           marginTop="5px"
                                                           marginRight="5px"
                                                           marginBottom="5px"
                                                           marginLeft="5px"
                                                           width="300px"     >
                                                 <hbj:formLayoutRow     id="Row1" paddingTop="1px" paddingBottom="1px" >
                                                      <hbj:formLayoutCell     id="Cell11"     align="LEFT" width="40%" >
                                                              <hbj:label
                                                               id="label_WorkContract"
                                                               text="Work Contract xx"
                                                               design="LABEL"
                                                               labelFor="WorkContract"></hbj:label>
                                                      </hbj:formLayoutCell>
                                                      <hbj:formLayoutCell     id="Cell12"     align="LEFT" width="40%" >
                                                           <hbj:textView
                                                               id="WorkContract"
                                                               text="<%=myBean.getAnsvh_Text()%>"
                                                               design="STANDARD"
                                                           />
                                                      </hbj:formLayoutCell>
                                                 </hbj:formLayoutRow>
                                                 <hbj:formLayoutRow     id="Row2" paddingTop="1px" paddingBottom="1px" >
                                                      <hbj:formLayoutCell     id="Cell21"     align="LEFT" width="40%" >
                                                           <hbj:label
                                                               id="label_HiringDate"
                                                               text="Hiring Date"
                                                               design="LABEL"
                                                               labelFor="HiringDate"></hbj:label>
                                                      </hbj:formLayoutCell>
                                                      <hbj:formLayoutCell     id="Cell22"     align="LEFT" width="40%" >
                                                           <hbj:textView
                                                               id="HiringDate"
                                                               text="<%=myBean.getEntry_Date()%>"
                                                               design="STANDARD"
                                                           />
                                                      </hbj:formLayoutCell>
                                                 </hbj:formLayoutRow>
                                            </hbj:formLayout>
                                       </hbj:groupBody>
                                  </hbj:group>
                             </hbj:gridLayoutCell>
                        </hbj:gridLayout>
              </hbj:form>
         </hbj:page>
    </hbj:content>
    *******************  JAVA
    package MSSPackage;
    import MSSBeanPackage.HolderDetailBean;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.*;
    import com.sapportals.htmlb.event.*;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentContext;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    // SAP RFC Imports
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.JCO;
    import com.sap.mw.jco.JCO.Table;
    import com.sapportals.portal.prt.service.jco.IJCOClientPoolEntry;
    import com.sapportals.portal.prt.service.jco.IJCOClientService;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    public class HolderDetail extends PageProcessorComponent {
      public DynPage getPage(){
         return new HolderDetailDynPage();
      public static class HolderDetailDynPage extends JSPDynPage{
         JCO.Repository mRepository;
         public void doInitialization(){
              // Define request, context and profile containers
              IPortalComponentRequest reqst = (IPortalComponentRequest) this.getRequest();
              IPortalComponentContext myContext = reqst.getComponentContext();
              IPortalComponentProfile myProfile = myContext.getProfile();
              // Define bean reference to bean
              HolderDetailBean myBean = new HolderDetailBean();
              // Place bean in user profile.
              myProfile.putValue("myBean", myBean);
         public void doProcessAfterInput() throws PageException {
         public void doProcessBeforeOutput() throws PageException {
              // Define request, context and profile containers
              IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
              IPortalComponentContext myContext = request.getComponentContext();
              IPortalComponentProfile myProfile = myContext.getProfile();
              //Get Bean from Profile
              HolderDetailBean myBean = (HolderDetailBean) myProfile.getValue("myBean");
              String sapSystem = "SAP_R3_HumanResources";
              // GET THE POSITION ID FROM THE URL QUERY STRING
              String PosId;
              PosId = request.getParameter("CKey");
              //PosId = "60004790";
              if (PosId == null)
                   myBean.testing = (String) request.getComponentSession().getValue("PosId");
              else
                   PosId = PosId.substring(6, 14);
                   request.getComponentSession().putValue("PosId", PosId);
                   myBean.testing = "POSID:" + PosId;
              this.setJspName("HolderDetailJSP.jsp");
    Thanks for your thoughts.

  • Transactional Iviews opening in new window

    Hi All,
    The transactional iviews are opening in new window.
    I see that it happens only in QA but not in development.
    Can anyone help me on this?
    Many users are getting issue but I am not sure weather all are getting this.
    Thanks and Regards,
    Nuzhat

    Hi Nuzhat.
    Check in User profile if User Accessibility Feature  is activated or not.
    Refer to Note 825464 (search for "Full Section 508 support for Transaction iViews") and Re: Transaction iView opening in a new pop-up window.
    Best regards,
    Aliaksandr Zhukau

  • Opening a new window calls action methods again.

    Hi all,
    I have a form that has a button to submit the information. For certain scenarios that submission can take over 30 seconds. So while that submission is taking place I hit <ctrl>-N on the browser to open a new window. This new window is calling the action methods associated with the submit button of the form.
    My guess is that this second window is sharing the session information of the other window and therefore is sending the request flow through the state of the other view.
    What can I do to handle this case?
    Thanks.
    Jason

    If you want to open a new window besides your original window, then you have to do it with javascript. Put a code similar like this in your onClik property of your hyperlink:
    window.open("faces/Page1.jsp", "","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=450");
    return false;When you click the hyperlink, it will open a second window of Page1.jsp. You can use if-else construct in javascript to choose which page you want to show.
    If you want to pass a value to the second window, you can use query string like this:
    window.open("faces/Page1.jsp?par1=value1", "","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=450");
    return false;Passing a field value in table component to second window:
    window.open("faces/Page1.jsp?par1=#{currentRow.value['FIELDNAME']}", "","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=450");
    return false;To retrieve the parameter in the second page (in this case Page1.jsp), put this in init():
    javax.servlet.http.HttpServletRequest req = (javax.servlet.http.HttpServletRequest) getExternalContext().getRequest();
            String par1 = req.getParameter("par1");After getting the parameter value, you can do the rest as your normal page, ie populating the page the way you like.
    AFAIK, the only way to open a new window is through javascript only. CMIIW.
    Hope that helps.

  • Action Script 3 URL  link opens in new window

    How do I stop the url link in the following code from opening
    a new browser window?
    thank you

    When I do this it comes through as an action scrip error.
    var link = new URLRequest("
    http://rhr-standout.com/pages/destination_finder/index.html","_self");
    button_mc.addEventListener(MouseEvent.CLICK, onClick);
    function onClick(MouseEvent):void
    navigateToURL(link);
    button_mc.buttonMode = true;

  • Targer URL not opening in New Window

    I have built a report with URLs. The report works well, but the Detail report is opening up in main window (overwriting master report containing URLs). I have checked the property 'Open Links in New Window' in Master report, but still the same. Does anyone have any ideas if iam missing anything here.
    Thanks

    Thanks for responding to my post. I have tried to implement as you said, but as you mentioned the solution worked only in HTML. (Master report HTML and Detail report PDF). But, i was looking for solution where the Master report is PDF and Detail is also PDF. If both are PDFs the detail report is overwriting master report output in same window.
    Do you have an idea if this is possible in BIP.
    Thank You.

  • SRM iViews open in New Window instead of Portal Content Area

    Hi folks,
    We are implementing SRM 7.0 business package on our Enterprise Portal 7. By default, all the SRM iViews open in a New Window. But, when I change the iViews to open in the Content Area, only the first iView that I try to open will open in the Content Area. All the remaining ones start opening in a new window with header. When reached out to SAP, they told me to disable the Work Proctect Mode. I tried that as well and still no luck. Please let me know if you guys have any idea how to make all the iViews open in the Content Area invariably. Any help will be greatly appreciated.
    -Sudheer

    Hi,
    Have you solved this issue?
    Regards,
    Cristiano

  • JSLink to Modify URL to open in new Window

    I'm trying to write a javascript to open a URL in a new window. I'm not the best at javascript and can't seem to get the URL formatted correctly.  Here is my example:
    (function () {
    // Initialize the variables for overrides objects
    var overrideCtx = {};
    overrideCtx.Templates = {};
    // alert("Override call worked");
    // Use BaseViewID and ListTemplateType to narrow focus/scope on
    // which web parts on the page are affected
    // overrideCtx.BaseViewID = 1;
    // overrideCtx.ListTemplateType = 100;
    * Using the Fields override leaves the rest of the rendering intact, but
    * allows control over one or more specific fields in the existing view
    overrideCtx.Templates.Fields = {
    //'LinkLocation': { 'View' : 'Animal' }
    //'LinkLocation': { 'View' : '<b><#=ctx.CurrentItem.LinkLocation#></b>'}
    //'LinkLocation': { 'View' : '<a href=ctx.CurrentItem.LinkLocation><#=ctx.CurrentItem.LinkLocation#></a>'}
    'LinkLocation': { 'View' : '<div><a href=""ctx.CurrentItem.LinkLocation""><#=ctx.CurrentItem.LinkLocation#></a><div>'}
    * Register the template overrides.
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
    I'm not sure how to put the quotations around the hyperlink.  When I do get it sort of working it puts "ctx.CurrentItem.LinkLocation" in as the path along with the local hostname. 
    Can someone tell me what I'm doing wrong?
    David Jenkins

    Getting closer.  I moved into a function.  Of course I'm missing something.  I can't seem to get two Field to work together in the function.  I'm sure it's because I'm calling the function on just the one URL and not the title. 
    I wanted to overwrite the URL's name with the title field.
    (function () {
    // Initialize the variables for overrides objects
    var overrideCtx = {};
    overrideCtx.Templates = {};
    // alert("Override call worked");
    //Functions
    function OpenURL(ctx) {
    //'<b><#=ctx.CurrentItem.LinkLocation#></b>'
    //var LinkURL = ctx.CurrentItem.LinkLocation;
    //var LinkTitle = ctx.CurrentItem.Title;
    var ret;
    ret = '<a href=' + ctx.CurrentItem.LinkLocation + ' target=\'_blank\' >' + ctx.CurrentItem.LinkLocation + '</a>';
    //ret = 'test'
    return ret;
    // Use BaseViewID and ListTemplateType to narrow focus/scope on
    // which web parts on the page are affected
    // overrideCtx.BaseViewID = 1;
    // overrideCtx.ListTemplateType = 100;
    * Using the Fields override leaves the rest of the rendering intact, but
    * allows control over one or more specific fields in the existing view
    overrideCtx.Templates.Fields = {
    //'LinkLocation': { 'View' : '<b><#=ctx.CurrentItem.LinkLocation#></b>' }
    //'LinkLocation': { 'View' : '<b><#=ctx.CurrentItem.LinkLocation#></b>' }
    //Overwrite title
    //'Title': { 'View' : '<#=ctx.CurrentItem.Title#>' },
    'Title': { 'View' : '<b><#=ctx.CurrentItem.Title#></b>' } ,
    //'LinkLocation': { 'View' : '<b><#=ctx.CurrentItem.Title#></b>' }
    'LinkLocation': { 'View' : OpenURL }
    * Register the template overrides.
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
    David Jenkins

  • URL not opening in new window

    Hi Gurus,
    I am stucked in a problem related to Portal. I am developing a portal page under which many Links with URL's will be listed. I want all the URL's should be opened in a separate window.
    I am unable to do so.
    Appreciate any quick help on this,
    Thank you
    Raj

    If you are creating the links with html (not using URL items) then just include target="_blank" in your link like <a href="#" target="_blank">your link</a> to open a link in a new browser window. If you are adding links to the page using URL items, then check the option to show the link in a new browser window. Note: if you are using an HTML Content Layout template and have applied it to the item region where you are publishing your URL items, then you will need to include conditional statements in the template to check for that (e.g. open link in new browser window) and include the correct target for the link based on what was selected for that item.

  • URL Iview is not open a new Window in FireFox

    Hi Guys,
    After we upgrade our portal to NW 7.0 EHp2 SP6 , we can not open the URL Iviews in Firefox.
    It looks like can't force the iview to open a new window and instead it open a new tab , Any suggestion?
    Thanks,

    Hi Mar,
    To me, the PAM mentioned Firefox 3.5 is not recommended for NW 7.0 Ehp2 - Firefox 3.6 is supported for NW 7.0 Ehp2 starting with SPS6.
    Anyway, if it works in IE & Safari, I don't think it has anything to do with the portal; it's something in Firefox settings.  As mentioned before, did you check the option to open new links in new windows? Also, please checkSAP Note 1296463 and its related notes about browsers to see if there's something relevant to your case.
    Regards,
    Dao

  • Webdynpro application can't display a URL iView in a new External window

    Fellow developer:
    In my WD4A application, I called the method 'navigate_absolute' to display a URL iView in a new External window.
    The code is as follows:
    data lo_portal_manager type ref to if_wd_portal_integration.
    call method lo_portal_manager->navigate_absolute
    exporting
      navigation_target = 'ROLES://u2026'
      navigation_mode = '1'.            ('0' - Displayed in the Same Window, " '1' - Displayed in a new External Window)
    The application can display the iView in the same Window (navigation_mode = '0'), but cannot in a new External window (navigation_mode = '1').
    In the iView properties, the following attributes are set to:
    1. Launch in New Window - Dipslay in Separate Window
    2. Open iView Links in New Window - Yes
    If you know the answer, please advise.
    Thanks
    Bac Quan

    hi,
    i have the same problem. Did you solve it?. Please let me know...
    regards,
    MC

  • List-Items (Type=URL) - how to open in New Window

    I use a List for deliver information in a region.
    The list consist of some URLs.
    I would like to open a new Window (not use the active Window), if one element was clicked.
    With html-text-region I could user "target=...", but this is not usable in the List entries, it should be a simple URL.
    Have we any attributes for such a behavior?

    Lutz,
    You can achieve what you want in a list template. For example the sample application uses the following fragment in the Standard Unordered List template:
    <li>#TEXT#</li>
    Simple change that to
    <li><a target="new" href="#LINK#" style="font-weight:bold;" class="list">#TEXT#</a></li>
    or something similar.
    Sergio

  • Open URL Ivew in a new window without loosing the current session in Portal

    Hi All ,
    I have a requirement in which there are two tabs in portal which are two roles A and B
    Where each tabs(role) has an URL Iview attached to it.
    Current I am in Window 1 - Tab A
    When I click on Tab B, it has to open in a new window (Window2) with Tab B content , where as the previous session (Window1)is not lost and Window1 has to show Tab A only.
    Kindly help me out on how to implement it .
    Thanks in Advance

    Hi All ,
    Thanks for the reply and sorry for the late response. 
    As per Prashant  I made the setting .. When I click Tab 2 in Window 1,  opens  a new window 2 with Tab 2 iview .but the window 1 is hilighted with Tab B and the current session on Tab A is lost . As per the reqiirement I should not loose the focus on Tab A in Window1.
    also Kindly let me know how and where can I sent the EPCM paramenter for the URL Iview .
    Thanks in Advance
    Edited by: Prasanna Kumar on Feb 21, 2012 12:42 PM

Maybe you are looking for

  • My touch won't show up as a device on iTunes

    I plugged in my Touch just now and it wouldn't load up iTunes automatically. So I opened it manually and it still wouldn't recognize it. Like it doesn't give me any message or anything at all, it just doesn't show up at all. I have the latest iTunes

  • Problem with subform (hidden & visible)

    I am new to Javascript but feel embarrassed to ask since I have some programming background. Putting my pride behind me. I am trying to use a drop down list ("A" & "B") that will hide or make visible two subforms ("Subform1" and "Subform2"). This is

  • XSQL with jdk1.2.2 - javai.dll error

    I successfully used the xsqlCommandLine utility with jdk1.1.7. When I try with jdk1.2.2, I get an error that javai.dll is not in the path. If I put javai.dll from the 1.1.7/jre/bin in my path, the xsqlCommandLine process runs without end, as if windo

  • 11g How to programmatically access Calendar Rules

    Hi guys, I use BPM 11g and I'm trying to programmatically access calendar rules configuration for the organization in order to display labor dates in ADF task flow using Simple Expression like: now + 2 business days. Has anyone done this on 11g? Than

  • How to view Slideshows/Movies created in my Mac-Mini´s iPhoto, on iPad 3

    Slideshows I have in iPhoto on my mac-mini, do not show up in the iPhoto on my iPad 3 (Just Photos, Events & Albums). How do I get the slideshows (Saved with music in Mac-iPhoto), to show in my iPad´s iPhoto? Do I need another app for this? By the wa