IView Launch Sequence

Hi SDNers,
In the Desktop InnerPage the following iViews are added and appears as below in the page layout (1 Column Full Width):
Custom Breadcrumb
Content Area
Footer
I have some custom logic in the 'Custom Breadcrumb' iView which sets some data to the browser session which will be used by other apps. Now, the Content Area iView (which displays the role containing other custom iViews) should access the data that was stored in the session.
However, when the portal screen is launched it seems that the Content Area iView is launching first and then the Custom Breadcrumb iView due to which it does not get the data stored in the session. I verified this by printing the system time in both the iViews and found that the Content Area iView is launched first followed by the Custom Breadcrumb iView after some miliseconds.
Is there a way to ensure that the Custom Breadcrumb iView is loaded completely prior to the launch of the Content Area iView ?
Any help would be appreciated.

Hi Robin,
Thanks for your prompt reply. Thought I will share some more details of my requirement.
My Custom Breadcrumb application has a HTMLB button called 'Go'. On click of this button, a function module is called which returns some data. This data is saved to the user's session. Now, the other iViews in the Content Area need to access this session data. However, since the iViews launch in no specific sequence, the other iViews retrieve the data from the session and do not get anything if they load and render prior to the Breadcrumb iView.
To ensure that the iViews get the right data, I thought of refreshing the content area after the logic (function module call) in the Go button is executed.
In the Custom Breadcrumb java code, using javascript I tried using 
public onGo(Event event)
//call to function module
  response.write("<ascript language="javascript">");
  response.write("parent.pageSupport.ivuRefresh(path of content area iView)");
  response.write("</ascipt>")
However, the above code does not seem to work. The syntax in the code is correct. I have specified it differently above as I am unbale to post the thread with the actual tags.
I am looking for a similar solution as I do not plan to modify the ContentArea code for subscribing to events.
As I do not wish to refresh the entire browser page, do you know of any method to refresh an iView from another iView ?
Regards,
Melwyn
Edited by: Melwyn Monis on May 31, 2011 6:22 PM

Similar Messages

  • TestStand 3.1 doesn't launch sequence editor

    TestStand doesn't launch sequence editor, it is not coming up with login screen.

    Hi,
    Need a little bit more help.
    Any there any errors generated. Is the TestStand Splash screen seen?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • EP7 SP11 new behavior with url iview launching external apps

    We have a simple URL iView that we deployed to open Lotus Notes (notes:///bookmark.nsf).  When we use this in EP7 SP10 it launches the external Notes client on the end user's PC and leaves the navigation area of the portal blank white.
    When we launch the same URL iView in EP7 SP11, we get an error page in the navigation window that says:
         Navigation to the webpage was canceled
         What you can try:
          - Retype the address.
    The Notes client still launches, but we'd like to get rid of this new error page that the support pack stack brought us.... Anyone have a suggestion?
    Thanks!
    Rich

    Hi,
    Using the url in IE works fine.  It seems to work everywhere but in the portal menu.
    I have the appintegrator in the back of my mind, and will start to have a look at it.  We are also considering a OSS message - this must be a bug in the system as far as I can see.
    Bjorn

  • PDK iview - launch JSP in the background?

    Is there a way to launch the JSP <i>behind</i> the portal browser?
    I have an iview which calls a jsp page. The jsp page simply holds javascript which calls a window.open() to a url.
    (I am not just calling the URL directly through a url iview or the appintegrator because the url needs parameters whose values are pulled from the session object. I know there is supposed to be a way to do this with the AppIntegrator -- but I have not figured out how to do that yet and am having trouble getting help. But that is a whol other issue... )
    Regards

    Easiest is probably to load the jsp in an invisible iframe within the iview.
    <iframe name="FRAMENAME" src=">relativeUrlToJSP>" width="0" height="0" frameborder="0" scrolling="no" ></iframe>

  • Close Button for Web Dynpro in an iView launched from UWL

    Hi All, this sounds like such a simple thing but its really got me thinking.
    Have a web dynpro application launching form the UWL into an iView (using the IViewLauncher, I'm using this so I can change some visual effects of the application with the iView).  The application is the LeaveApprover application.
    Need a close button on the confirmation screen.  Have tried the following code called from a Close button:
         try {
              String url  = WDURLGenerator.getWebResourceURL(wdComponentAPI.getDeployableObjectPart(),"closepage.html");
              TaskBinder.getCurrentTask().getClient().sendRedirect(url, 0);
         } catch (Exception e) {
              e.printStackTrace();
    The closepage >>
    function closeWindow()
    {var currWindow = window.top;
    currWindow.opener = window.top;
    currWindow.close();
    onload run the closeWindow function
    This is a test file to close the window....
    This works if I use the standard UWL launch but DOES NOT WORK with the iViewLauncher.
    Also tried creating an exit plug in the interface view and calling it from my close button, but no luck with either.
    Please help.  Thanks Brian
    Edited by: Brian Carter on Dec 8, 2009 11:54 AM
    Edited by: Brian Carter on Dec 8, 2009 11:55 AM
    Edited by: Brian Carter on Dec 8, 2009 11:58 AM
    Edited by: Brian Carter on Dec 8, 2009 11:59 AM
    Edited by: Brian Carter on Dec 8, 2009 11:59 AM

    Hi Brian,
    we had a similar problem in the past. We wanted to call a normal Button placed on the WebDynpro View and the close script was saved in the km content in portal.
    We solved it with an own project in NWDS including the html Files.
    Follow the link and you find our solution. Hope it helps.
    Re: Portal navigation problem

  • RRI: target(iview) launched with another window

    Hi,
    I would like to Jump from (2004s)BI web report to target iview. and I want target window to be launched with another window.
    I am glad if you advice how to do so.
    Kind regards,
    Masaaki

    You can use the EPCM object to navigate to a any iView in the portal. See the attached documentation.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/21bb7485750bd5e10000000a422035/content.htm

  • Uploaded BW Roles and Iviews launch

    Hello Gurus,
    My goal is to replace the BEx Browser with the Portal.
    I am experiment different things but so far it seams that the best way would be to Upload SAP_BW Roles to the portal with the following settings:
    Upload user mapping:               YES
    Upload user mapping:           YES
    Upload included services:           YES
    Select first folder level as entry point:      YES
    Convert roles to worksets:          NO
    Role name only
    I am facing a couple of problems though:
    1) Once I added an uploaded role to a Portal User, I am accessing the portal with it:
    Folders contained into the roles now are shown as tabs, which is actually fine.
    Web queries, contained into the role, are shown as sub-tabs which doesn’t thrills me but I don’t see any problem with it.
    The first web query (Iview) contained into the folder starts by itself even though I am not clicking it and this is not alright!
    I was imagining something different like what we have accessing the portal with role “com.sap.ip.bi.business_explorer_showcase_0”
    A folder which contains clickable links leading to the web queries (iViews).
    Do you know a way to have the same thing with uploaded roles?
    If it is not possible can you please tell me how to avoid the automatic start of the first query (Iview)?
    2) I am not able to find within the KM, web queries (iviews) imported with the tool… can you please tell where they have been stored?
    If you believe there is a better strategy to replace the BEx Browser with the portal please let me know it !
    Thank you very much!
    Matteo Mariniello

    Hi Matteo,
    If you are using NW 2004s, i would recommend going with the BI- Java Usage type which would provide you with Business Explorer and Business Planning Roles. This contains a Bex Web Analyzer through which you can run your queries and reports through portal. This also provides acces to Bex Portfolio where you can publish Queries to KM Folders.
    You can install BI as a usage type while installing NW 2004s.
    Check out the following links.
    BI Suite
    http://help.sap.com/saphelp_nw04s/helpdata/en/5b/30d43b0527a17be10000000a1
    14084/frameset.htm
    Integrating BI with Portal
    http://help.sap.com/saphelp_nw04s/helpdata/en/a3/7b583c2439e66fe10000000a114084/frameset.htm
    Thanks,
    Abhishek

  • UWL Iview launch issue

    Hi,
    We have customize a task in the UWL when a user click on the task, it open an ITS iview in the same window.  For some reason and specific users, when they click the same iview, it open an SAP transaction.  I have deleted all my config and re-imported the XML, but i still get the same issue.  If you have any suggestions, that would be great.
    Thanks
    JS

    Resolved,
    when you have the accessibility feature turn on for a userID, it does not take the XML config.
    I will check the XML to see if there is any option for the accessibility feature.
    JS

  • Iview load sequence

    Hello everyone,
      I've designed a page containing about 8 jsp iviews.  Is there anyway to control the order in which the iviews load on the page?
    Gary Hill
    Lamson&Sessions
    216-766-6706

    Hi Gary,
    You can check out few options in iView Properties.
    Get the iview properties as Show All
    In that check for <b>Default Entry for folder & Sort Priority</b>
    Default Entry For folder gives the initial tab or iView that has to be opened. If 2 0r more are given as yes then the first on the role structure is displayed first.
    Also in Sort Priority the least the priority the first its displayed.
    I think this may help you
    Thanx & Regards
    Anish

  • Anyway to add custom javascript on launching an iView

    Hi Expert,
      I would like to see is there anyway to add custom javascript on an iview (which contains standard SAP pcd contain).
    I would like to invoke a script on the onLoad to trigger a popup windows when that iview launch.

    Thanks.
    Actually, I try to pop up a warning box when launching an iview.
    For example, when user try to click an iview. I want to pop up a warning box. After user clock "ok", the system would then launch the iview. Otherwise, it will navigate back to Home Page.

  • Launching WINGUI iview closes down IE automatically in AJAX?

    Hi everyone!
    I've got 2 iviews that launch SAP GUI for windows (by downloading the shortcut file). Each iview launch a different client nr. on the same backend.
    When opening the portal in AJAX, and I launch this iview, internet explorer closes down automatically and SAPGUI launches just fine.
    This doesn't happen on my computer, but it does happen on many others, so I figure this has to do with IE specific settings.
    This hotfix solves the problem... on Windows XP... http://support.microsoft.com/KB/954077 but reading the description, the error is exactly the same.
    How do I prevent Internet Explorer from closing down when launching WINGUI launcher?
    Best regards
    Lasse

    Lasse,
    I do not think this is an issue with your portal but its rather related to IE as you have mentioned.
    Also, the KB states Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
    You could probably try using any other browser and test the results.
    Cheers!
    Sandeep Tudumu

  • URL iView doesn't open link in new window

    Hi All,
    I'm have an URL iView that I want to display in the portal content area but whenever the user clicks on a hyperlink on that iView launch a new window for the link.
    I've tried using the 'Open iView links in new window' without any success. Is this supposed to work or this property is for another purpose...? Can someone point me to a solution.
    Thanks

    Hi Detlev,
    I checked what you said. I've already looked at that page but didn't saw that important disclaimer. My problem was that I didn't had a captured area-URL iView but a full page-URL iView as it says:
    +These properties are relevant in the following instances only:
    §         The iView content is displayed in its source format. The rendering type must be defined as Keep Source Formatting. See Defining the Look and Feel of the iView Content.
    §         The iView content displays a captured area, and not the entire Web page. See Selecting the Capture Area.+
    I only had to change the 'Open iView links in new window' to Yes after capturing a part of my page and it started working.
    Thanks for sharing

  • Launching a Bex web report in KM in a new window

    Hi All,
    I am trying to figure out how to configure KM so that it would launch a Bex web report in a new window
    instead of being displayed in the innerpage area.  The Bex web report is stored in a KM folder.
    Can someone point me in the right direction?
    Thanks.
    Regards,
    Mel Calucin
    Bentley Portal Architect

    Hi Mel,
    If you have already assigned the Bex report to a role, then you can open the  bex iview and edit the property "Launch in New Window" to Display in separate portal window
    If the report is still not created and is existing in the KM you can create a KM navigation iview or KM document iview and specify the document path where the iview is exisiting OR you can open the bex report, capture the URL of it and create a URL iview for the same... you might want to refer to this thread for more details.
    https://www.sdn.sap.com/irj/scn/thread?threadID=1260067&tstart=0
    And when the iview is ready and the content is getting displayed accordingly, if you want to open the iview in a new window instead of the portal content area, you would have to follow the instructions given above ie to edit the property of iview "Launch in New Window" to Display in separate portal window
    Good Luck!
    Sandeep Tudumu
    Edited by: Sandeep Tudumu on Mar 9, 2009 10:57 AM

  • InCopy Crashes at launch

    One of my coworkers is having trouble launching InCopy. It gets part-way through the launch sequence then quits. I have had him repair disk permissions and fix disk errors. Here is the top part of the error report:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE AdobeCrashReport SYSTEM "AdobeCrashReporter.dtd">
    <crashreport version="1.1" crVersion="2.5.0.03072007" applicationName="InCopy" applicationVersion="5040" build="5.0.4.682">
        <time year="2010" month="2" day="26" hour="14" minute="47" second="52" />
        <user guid="E156CDC5-4F66-4CD0-A344-CB4621501AB5" />
        <system platform="macintosh" osversion="10.5.8" applicationlanguage="en" userlanguage="en" oslanguage="en_US" ram="2048MB" machine="i386" model="MacBookPro4,1" cpuCount="2" cpuFreq="2400MHz" busFreq="800MHz" />
        <crash exception="Read Only Memory Exception" instruction="4d8b0689">
            <backtrace crashedThread="0">
                <thread index="0">
    His system: MacBook Pro, OS X 10.5.8, 2.4 Ghz, 2 GB Ram.
    I have not had him remove preferences yet. If removing preferences is the next step, which ones should he remove?

    Bob's correct. Just hold down cmd-opt-shift-control immediately after launch.
    Note, to be useful, you need to include the next few lines from the crashreport. That much tell us that thread 0 crashed, but not what thread 0 was doing.
    (and thread 0 is always the one that crashes...)

  • How to define alert execution sequences ?

    Hello everyone,
    I needed to set up an alert which would only be launched if a 'new' entry was added to the OPKL table, by new I mean entries which weren't detected by the previous alert, it seemed hard at first but I found a means to do it, ( if anyone is interested in how I achieved it ,I can post the solution) But a second problem showed up : I couldn't use complex queries in my alert as it resulted in disabling Drill down options ( orange arrows) in the alert results, I decided to split the alert into two separate alerts, but in order for this solution to work, I need the alerts to be executed in a precise order, as in " Alert1 goes first THEN Alert2"
    can anybody tell me if it is possible to control the alert launch sequence,  and if yes how ?
    Thanks in advance
    Amin

    Hello Lakshmi,
    The solution I found involved creating a user Table (@LASTPKL) in which i would store the Entry of the last Pick list entered, and then I would launch a querry which would select thias particular entry, display it, and eventually update it if there were any others newer. So what you need to do is to create a User Table 
    and then set the folowing query as your alert query :
    DECLARE @Flag INT
    SET @Flag=0
    IF((SELECT MAX(AbsEntry) FROM OPKL)<>(SELECT MAX(CODE) FROM [@LASTPKL]))
      BEGIN
      SET @Flag =1
      SELECT T0.AbsEntry As 'Numéro', T0.[Name] As 'Created by', T0.CreateDate As 'Creation date',  T0.PickDate As 'Picking date',
      CASE T0.Status
      WHEN 'Y' THEN 'Picked'
      WHEN 'R' THEN 'Validated'
      WHEN 'P' THEN 'Partialy picked'
      WHEN 'D' THEN 'partialy delivered'
      ELSE 'Closed'
      END
    "Pick lists waiting "
    FROM OPKL T0 WHERE T0.AbsEntry = (SELECT MAX(AbsEntry) FROM OPKL)
    END
    IF @Flag <> 0
    BEGIN
       DELETE FROM [@LASTPKL]
       INSERT INTO [@LASTPKL] (Code,[@LASTPKL].[Name])
       (SELECT T0.AbsEntry,T0.AbsEntry FROM OPKL T0
       WHERE T0.AbsEntry=(SELECT MAX(AbsEntry) FROM OPKL))
    END
    One assumption I made was that the picklist codes would always follow an ascending order, and due to the query's structure teh drilldown orange arrows won't be displayed.
    I hope this helps.
    Best Regards

Maybe you are looking for

  • Why can't users update their devices with 5.1?

    I can't update my iPad 2 with the new software and I saw that it's not only me.It says that there is a problem with the server, please fix the bug.

  • One step purchase order approval

    Hi,    I have activated the one step PO approval workflow. How do I assign the agents. I have tried to do it in SPRO - Maintain agent assignemnet for tasks but was unable to do it as I did not get the link. Any help is appreciated. Joe Vellaiparambil

  • Crystal Report Server - SMTP over secured connection (SSL/TLS)

    <p>Hello All,</p><p>Been looking around information on Crystal Reports Server but have not managed to find the information I need. So was wondering if anyone new if it is possible to distribute reports via SMTP over secured connections such as SSL/TL

  • Maintenance Plan which has two call dates for year

    Hi all, I need to create a Maintenance Plan which has two call dates for year. The dates have to be the last Sunday of March and the last Sunday of October for the same Maintenance Plan. Does anyone know the solution? Please do throw some light on it

  • Upgrade Logic Express 9 from Logic Audio 5 (Big Box)

    Hi, I am trying to install Logic Express 9 Upgrade (the version to upgrade from Logic Express 6, 7 or 8 or Logic Audio 5 or 6 / Big Box) on my Mac. The installer asks me for my old serial number to upgrade - when I plug in my XSKey which I got with t