UWL refresh on page load

Hi
It seems this question has been asked a number of times in a number of ways in the past but to my knowlege has not had a response that denies it's possible or provides a solution.
The biggest source of frustration for our ESS/MSS users in our implementation is that UWL does not get rid of worklist items that have been processed. Our user community do not find it acceptable to click refresh to force a reload of the cache from the back end when the uwl is returned to after processing a leave request approval. What they would like is for the page to do that when loading. We are aware of delta pull and cache refresh settings but neither of these options are considered a solution by the users.
We have seen a UWL FAQ that states: Refreshing with Hidden iView
Add a hidden iView on the page that raises the refreshUwlBackend event. This is the same event that is triggered when users manually choose the Refresh function. If the user returns to the task list after a task has been completed, approved, or rejected in another window, the refresh is automatically done by the iView.
Our interpretation of this is that we create an iview on a par file that contains the code:
   EPCM.raiseEvent("urn:com.sap.netweaver.bc.uwl.ui", "refreshUwlBackend");
This is added to the same  Page that contains the UWL iview.
This seems to be the holy grail we are looking for but alas, our efforts to date have been in vain. It seems like the iviews load together and the refreshUwlBackend event fires before the event itself is available.
Any suggestions as to where we are going wrong or practical alternatives to the problem?

Hi Beth / Mark,
I am also facing same problem.
Problem1:
We are integrating MDM iviews.
Approver has 2 steps:
1) Mark as approve / disapprove
2) Click on DONE
Between these steps we are stucked with 2 mins refresh time (min time which is confirmed with SAP).
Could not raise any event from MDM Result set Iview and still trying to find any workaround.
Problem2:
Apart from this, we have MDM Item detail iview, where record is saved after entering data.
This iview provides "Custom Event Button"
But we are not able to trigger custom event. We want to call UWL iview once record is saved.
We have to specify following parameters in Custom Event Tab:
Custom Event Name: ______
Event Type: EPCF POST SAVE EVENT   (Cannot change, this is bydefault)
Target (URL or Event Name): http:/<portalURL>:<port>/irj/portal?NavigationTarget=PCD path of UWL iview)
Namespace: urn:com.sap.netweaver.bc.uwl.ui
Parameter Format: Standard
Last column is parameters but don't know what are the parameters to be specified.
Supporting Link used: Configuring Events on an Item Details iView
[http://help.sap.com/saphelp_mdm71/helpdata/en/45/c89e544c52570be10000000a114a6b/content.htm|http://help.sap.com/saphelp_mdm71/helpdata/en/45/c89e544c52570be10000000a114a6b/content.htm]
Could you pl guide me on resolving above 2 problems.
Regards,
Purav
Edited by: Purav Mehta on Dec 3, 2010 10:02 AM

Similar Messages

  • I am forced to hold shift and refresh the page on 99% of the sites I visit. How do I fix this from happening? If I don't the pages are missing style sheets and etc.

    When ever I go to sites they half load or are missing style sheets. If I view the source for the page and click on a style sheet link I get the following error:
    Content Encoding Error
    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
    If I hold shift and refresh the page loads as normal.
    It's happening on 99% of the sites I visit. I have disabled my plugins and add-ons.
    I do have some add-ons or plugins that I would like to remove completely but there is no uninstall or remove option, neither in regular or safe mode.

    '''I'm NOT buying a backup Computer till, Firefox will Run on Windows 8 !'''

  • Unable to open Power BI Sites - Error: We were unable to load the Site. Refresh the page to try again

    Power BI Sites Error
    We were unable to load the Site. Refresh the page to try again
    When opening Power BI Sites with internet explorer, in certain security configurations you may run into the above error. While we are looking into resolving this, please see the following workaround:
    From the Tools menu, select internet options.
    On the security tab uncheck the "Enable Protected Mode" checkbox form the relevant Zone (Intranet/Internet)
    Remove all entries to *.powerbi.com from trusted sites or/and local intranet sites
    On the advanced tab, uncheck the "Enable enhanced protected mode" (if you made a change here it will require a restart of the machine)
    Restart and try again (if not changes done in the last step, just restart the browser)

    Hi
    Any further debugging tips? I upgraded from IE9 to IE11 on my Win7 machine to try get Q&A working, it broke the entire PowerBI site for me

  • Oracle ADF refresh as deferred does not execute query on page load

    In the oracle ADF page I have two panel boxes. (Oracle ADF 11.1.1.4)
    a) Personal information panel box with PanelFormLayout (PersonalInfoViewObj) - ReadOnly View Object
    b) Address information panel box with Table (AddressInfoViewObj) - Read Only View Object
    For the iterators in a) and b) I have kept refresh condition as deferred and cacheResult=false. Also in b) for af:table, I have kept contentDelivery="immediate"
    When page loads it fires SQL query for a) and populate the data in Personal information panel box. However for b) it does not execute the SQL query and the data is not getting populated ( in AddressInformation panel with the tables. Please note data is there in the DATABASE......)
    Becasue with the refresh as deferred it was not executing the sql query for Panel b) (panel with Table and table iterator). I have tried refresh as always and refresh ifNeeded/renderModel/prepareModel however in that case it is executing the SQL query two times (twice).
    Please let me know the best way to fix this issue.

    Hi,
    I think you need a method in an application module to init your data.
    In your AM : create a method like :
    public void init(){
    getViewObject().executeQuery();
    }In your adfc-config.xml create a methodCall from this method and a "control flow case" from the methodCall to your page.
    and keep refresh as "deferred " in your pageDef.
    Clément

  • How to refresh a page in apex, once it is loaded

    Hi friends,
    I need to refresh the entire apex page automatically, once after the page is loaded. How to achieve this in apex.
    Whether need to use any DA for the auto-refresh. If so, can you kindly help me with that guys.
    Thanks
    Brgds,
    Mini

    Mini wrote:
    Hi Hari,
    Yes i have a apex page redirects from the ebs menu like you said. But for the refresh issue instead of modifying in the jsp i thought of bringing the automatic refresh for that apex page once it is loaded within apex.
    However these type of issues are sometimes get fixed by clearing browser cache or just by restarting your browser. Have you tried it?Yes i have tried, by clearing the browser cache and also by restarting the browser then too it still persist.
    Any DA action will be helpful for refreshing that page for 1sec once it is loaded. Since i dont want it to be loaded multiple times often once it is loaded.
    The refresh has to be only once if the page is loaded.
    or is it possible to Refresh the page based on the application page item through DA
    Thanks
    Brgds,
    MiniTechnically Yes, you can create a D.A. that will fire only once based on some apex page item or application item value. However this is NOT the correct solution.
    <li> When you see apex page (after clicking menu in EBS), do you see apex url in browser address bar? Can you post the URL here?
    <li> If you directly log-in to APEX (not via EBS), do you still face this issue?
    Regards,
    Hari

  • How to refresh canvas on every page load?

    Hi,
    I have a <canvas> added for electronic signature. Electronic Signature using SAPUI5?
    As there is no UI5 control I am adding the canvas from controller to xml view having  <core:HTML id="signature" width="100%" />
    When the page is loaded for the first time it works  fine but on successive load of the page, canvas is not being refreshed with different signature. I am getting data from backend as OData but I cant bind the property so that on model change canvas would refresh.
    How to fix the issue of canvas refresh on every page load?

    Hi Dennis,
    There is a slight error in your code: the last Undo button is missing a closing } for the press function, and the 'enabled' property contains a rogue comma, but other than that, kudo's for your work here!
    Rashmi, it seems like Dennis Seah has created the perfect case on why you should consider writing your own custom control instead of using the standard <canvas> element

  • How to fix the time to refresh page items on Page load

    Hi all,
    When my pages load, some page items hidden are shown and when page load they are hidden again. Is there any way to keep it hidden without this time to refresh?
    Thanks
    Bsalvador

    bsalvador wrote:
    fac586,
    I tryed with:
    #P32_DATA_FINAL, label[for="#P32_DATA_FINAL"] {  
      display: none;  
    And only Page item was hidden. Label is still showing...could you help me?
    Thanks
    bsalvador
    Sorry, the "#" shouldn't appear in the attribute selector. There's probably a theme CSS rule with a higher specificity on the labels, so add an !important directive to the rule:
    #P32_DATA_FINAL, label[for="P32_DATA_FINAL"] {  
      display: none !important;  
    Always state which theme and template(s) you are using in a question about visual formatting or layout. Theme HTML/CSS is not always—historically never—consistent, so we need to know this information in order to determine which selectors to use.

  • Firefox does not load the iframes until i refresh the page once i refresh the page it does work fine any idea y its so.....

    when i refresh the page all the details rellated to product is loading fine..the page contains two iframes with different src...the src for iframes is being provided from javascript

    Greasemonkey has a file which has metadata on your installed scripts. I remember looking at it once when there was a controversy about updates, but I don't know how to mine it for data.
    What happens if you exit Firefox and startup in your old profile and install GM 1.14 beta? Does that rescue your original setup?

  • Inputtext component refreshes and the entered data is vanishes only happen when page loads first time

    Hi,
    Am using 11.1.1.5 adf jdev.
    I got unique issue , i have couple of jsff seach pages . In jsff , i have user enterable inputtext box ,Issue is when user enters data for first time . the component refreshes and the entered data is vanishes .
    But it happen for the first time when page loads, There is no partial triggers on dat input text box.

    Hi John,
    My page is not a part of a task flow. The whole app is an Admin app comprising of multiple individual pages navigated using Menu.
    I have tried to run this page individually on my local machine as well as when deployed on the WLS server. The behavior is the same.
    Kindly advice,
    Thanks,
    Ram

  • Can anyone tell me if there is a way that I can set a web page up to load a new image each time a visitor refreshes the page?

    I pray I can find a way to do this without losing my mind/writing and troubleshooting javascript. I would like to have three images per main department page on the web site link below, but I don't want them to show all at once. I would like a new, single image to show up each time a visitor visits or refreshes the page. Does anyone have a clue if i can do this in Dreamweaver and how? Please help if you can.
    Here is the link: http://www.graphicmechanic.com/DEKALBCOUNTY/parks-and-recreation/index.html
    See the words in big type "Parks and Recreation". My goal is to have the clown/face painting photo next to it change to something else each time it loads. Let me know if my explanation is confusing please.

    Hi
    Try using a javascript random image generation script - chose from one of the following - http://www.google.co.uk/search?client=firefox-a&rls=org.mozilla%3Aen-GB%3Aofficial&channel =s&hl=en&source=hp&q=javascript+random+image&meta=&btnG=Google+Search.
    PZ

  • POWL: Refresh the cache results of POWL during page load.

    Hi Friends,
    I am using a feeder class for my POWL. Whenever the user clicks opens the POWL, he sees the cached data/results and he is expected to do a manual refresh to see current/new data. I want to eliminate this by refreshing the cache during the page load itself and show user current data. I already know about the exporting parameter in handle_action method which is used to do refresh. But it does not work in this case.
    Pls help.

    Hello Saud,
    In which release you are? in new release you can do refresh by personalization where options are there.
    There are other options also to refresh
    1) By passing URL parameter refreshA=X it will refresh all queies when loading
    2) By passing refreshq=X, it will refresh the current query
    best regards,
    Rohit

  • Clear data in sql report region on page load....

    I have a sql report region.when i run the page the data getting populate on the screen because of the sql query. On page load i dont want to populate the data in screen.
    i have created the page process to clear cahe the page. but the data is not clearing from the screen.
    How to resolve this?
    Thanks & regards,
    Skud.

    Skud,
    you can create condition in report region query e.g. where 1 = :PXX_ITEM, and populate that item on click and then refresh report.
    Bt,
    Marko

  • I have just downloaded the latest version and some sites are part loading then taking ages to complete the page load. why and can you or I do anything about it please.

    latest version loads the main banner of page then takes too much time loading the content of page > I have even had to stop the page loading and refresh before it will load properly> I did not experience this before installing the latest version the pages used to load insantaneously. I am not the only one experiencing this as my friend has reverted back to explorer.
    Please can you do something about this.

    It could be caused by a Firewall. Disable your internet security and then see if QT will open.
    Are you an administrator account? It could be a permissions issue. Open the User Accounts control panel to see what type of account you have. Open the QT control panel to File Types. Does it show programmatically set? If so that will indicate permissions have been set by an administator.
    Also are there too many applications running at once or loading at start up? Look down at the bottom right corner of the screen, is it loaded with icons? If so close them all out and stop them from running at start up, then see if QT will open. The only application that should load at start up is your internet security and maybe volume control, anything else you can open as needed.
    If none of the above is a solution than I can help you uninstall QT and install, if so what version of QT is on the computer now. Open the QT control panel and click on About QuickTime

  • How to Refresh a Page once saved to database in ADF.

    Hi,
    I created a JSF page using project template as "JSF,ADF,business components".
    There is a List of values displayed in a dropdown list,
    User can create new value and once it is saved to the database it should reflect in the list of values.But it is not displaying in the LOV and it is happening only when i close that page and open a new one.
    Can u please tell me how to refresh a page without closing the current page once save button is clicked.
    Thank you,
    Harika.

    Mini wrote:
    Hi Hari,
    Yes i have a apex page redirects from the ebs menu like you said. But for the refresh issue instead of modifying in the jsp i thought of bringing the automatic refresh for that apex page once it is loaded within apex.
    However these type of issues are sometimes get fixed by clearing browser cache or just by restarting your browser. Have you tried it?Yes i have tried, by clearing the browser cache and also by restarting the browser then too it still persist.
    Any DA action will be helpful for refreshing that page for 1sec once it is loaded. Since i dont want it to be loaded multiple times often once it is loaded.
    The refresh has to be only once if the page is loaded.
    or is it possible to Refresh the page based on the application page item through DA
    Thanks
    Brgds,
    MiniTechnically Yes, you can create a D.A. that will fire only once based on some apex page item or application item value. However this is NOT the correct solution.
    <li> When you see apex page (after clicking menu in EBS), do you see apex url in browser address bar? Can you post the URL here?
    <li> If you directly log-in to APEX (not via EBS), do you still face this issue?
    Regards,
    Hari

  • Creation of components on page load

    Hi All,
    My question stems from the answers I received in these forum posts:
    - http://forum.java.sun.com/thread.jspa?threadID=5262963
    (how to dynamically add components to a specific position in the page)
    - http://forum.java.sun.com/thread.jspa?forumID=427&threadID=5262253
    (how to register a PhaseListener to trigger before rendering the response)
    What I'm trying to do now is to dynamically create components inside a container as soons as the page loads. To do this I have placed the following code inside the beforePhase() method of my PhaseListener:
    FacesContext.getCurrentInstance().getApplication().addComponent("Label", Label.class.getCanonicalName());
    Label label = (Label)FacesContext.getCurrentInstance().getApplication().createComponent("Label");
    label.setText("Hello World!");   
    panelGroup.getChildren().add(label);I've also modified my JSP page as follow:
    <webuijsf:panelGroup binding="#{TestPage.panelGroup}"/>I've tried debugging the code, and my PhaseListener is definitely working (as my code gets executed), but when the view is rendered the label isn't displayed at all. It works fine, however, if I put the code inside a method and connect an actionListenerExpression to it which gets called when a button is pushed.
    Any ideas?
    Ristretto

    Hi Ristretto,
    A couple comments. First, if the "Label" component is already declared in a faces-config.xml file somewhere, you don't need to re-register it w/ JSF... and you certainly don't need to do it each time your code is executed. If this is the Woodstock Label component (as the "webuijsf:" prefix implies for your other components), then you don't need to do this. So you can remove the first line of code (the addComponent() line).
    From what you've described, I would think it should work. Your panelGroup variable is the same instance of the object returned from the binding in your JSP, and the phase listener gets invoked before anything gets rendered. If that happens, everything should work as you want it to. Obviously something's not right, though... and unfortunately I don't see it either.
    Why do you want to do this in a phase listener instead of during your binding?
    I would not recommend creating a hierarchy of managed beans that register themselves as phase listeners and provide behavioral functionality for your application. This is very likely to be difficult to maintain, will cause every page to execute these phase listeners, and simply cause you problems. That said... there may be cases where phase listeners are a good fit in order to execute code on every request, so maybe what you're doing is ok for your use-case -- that's your call. :)
    Let me show you a complete, runnable example of how JSFT can do exactly what you described below w/o writing any Java code or compiling, etc.:
    <sun:page>
    <sun:html>
    <sun:head title="Woodstock Example" />
    <sun:body>
    <sun:form id="form">
    <sun:panelGroup id="panelGroup">
        <!afterCreate
            createComponent(type="sun:label", id="label", parent="$this{component}", component=>$attribute{comp});
            setUIComponentProperty(component="$attribute{comp}", property="text", value="Hello World!");
        />
    </sun:panelGroup>
    </sun:form>
    </sun:body>
    </sun:html>
    </sun:page>The "sun:" tags are the same as the "webuijsf:" tags (woodstock) you are using. If you use the facelets syntax w/ JSFT, you can map the prefix to "webuijsf:" also. When run, the panelGroup part of the page looks like this in the browser's source:
    <span id="form:panelGroup"><label id="form:panelGroup:label" class="LblLev2Txt_sun4">
    Hello World!
    </label></span>The "createComponent" and "setUIComponentProperty" handlers are builtin to JSFT and do what your simple example needed, however, using a simple annotation you can create your own custom handler to do anything you want (assuming your performing some logic or retrieving data from somewhere to create these components on the fly). These handlers demonstrate that there are better alternatives to "managed beans." Managed beans tend to get tied to a particular page and scope... but logic should neither be tied to a page, scope, or a particular use-case. By allowing parameterized handlers to exist, you can invoke them from anywhere. This is the re-usability you are trying to achieve through inheritance without the overhead that you will incur.
    If you'd rather add the component during the rendering phase instead of the restore view phase (afterCreate is during the restore view phase in JSFT), you can use the "beforeEncode" event. And furthermore, you don't have to associate the event w/ the component in which it should be associated with (although you can)... for example you could put this event at the top of the page so that it gets invoked at the beginning of the render response phase:
    <!beforeEncode
        getUIComponent("form:panelGroup" component=>$attribute{parent});
        createComponent(type="sun:textField", parent="$attribute{parent}", component=>$attribute{comp});
        setUIComponentProperty(component="$attribute{comp}", property="text", value="#{pageSession.foo}");
    />This causes a woodstock textfield to be added before rendering the page. However, unlike creating a component tree, rendering happens each time the page is refreshed. So, this code could potentially get invoked many times... just add a button w/o any navigation rule and you'll see it add a new text field each time you click the button.
    Last... you may want to consider using facelets way of composing pages. This allows you to create a template which may include page-based phase listeners, or events (as shown above), or bindings... as well as the obvious header / footer and other template content. This again is a much better re-use strategy than maintaining a bunch of JSPs. And JSF 2.0 is going to emphasize Facelets syntax over JSP for this reason.
    Good luck!
    Ken Paulsen
    https://jsftemplating.dev.java.net

Maybe you are looking for