Reload/Refresh WCC header

Hi All,
I am trying to reload/refresh UCM header after the specified amount of time.
I created simple custom component and add jQuery function to <@dynamichtml std_html_head_definition_declarations@> in component resource file.
In the same resource file in <@dynamicdata CoreMenuItems@> I added link in menu_c (next to logout) which label returning custom idoc function result
(e.g. for test I used <$CURRENT_DATE$>).
<script type="text/javascript">   
var auto_refresh = setInterval(
function()
$('.TopBarContent').fadeOut('slow').load('custom_reload_resource.htm').fadeIn("slow");
}, 10000);
</script>
After first page load jQurey function do fadeOut and fadeIn but the link label doesn't refresh the idoc function result.
I don't know is custom_reload_resource.htm (resource file from component) file that should be loaded and if it is how to set path to that file?
Thanks in advance.

Hi,
Create a template with something like that :
<$utLoadResultSet("wf_in_queue", "WorkflowInQueue")$> <$i = 0$> <$loop WorkflowInQueue$> <$i = i + 1$> <$endloop$> Active Workflow number = <$i$> 
Modify the header and add a div in which you will insert the content of the template every x minutes with an Ajax call to the template.
The URL to retrieve the template content (for your Ajax call) :
https://YOURSERVER/cs/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=WfAssignmentNumber
Romain.

Similar Messages

  • Auto Reload/Refresh of page or content

    I am a newb to Edge Animate and coding in general. I am developing a mobile web page with text on it. I need to update the text and have users see the updated text without having to reload/refresh the page themselves. Is there a way to have the page auto-refresh or another way to ensure people see the updated text if they already have the page loaded on their device?

    Hi Friend,
    Use Javascript utility for auto-refresh the page.
    Following example will be helpful to you:
    <html>
    <head>
    <script type="text/JavaScript">
    <!--
    function timedRefresh(timeoutPeriod) {
              setTimeout("location.reload(true);",timeoutPeriod);
              alert("hi")
    //   -->
    </script>
    </head>
    <body onload="JavaScript:timedRefresh(5000);">
    <p>This page will refresh every 5 seconds. This is because we're using the 'onload' event to call our function. We are passing in the value '5000', which equals 5 seconds.</p>
    <p>But hey, try not to annoy your users too much with unnecessary page refreshes every few seconds!</p>
    </body>
    </html>
    Enjoy RIA

  • Is it possible to reload (refresh) all pages at once?

    Is it possible to reload (refresh) all pages at once?

    Right-click on any open tab and choose "Reload all tabs"
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Question on Page reload/refresh

    How to reload/refresh the page after changing the value of an item.
    I have two items in one page. First one is VAR1 as date picker and second item is VAR2. The value of the VAR2 is going to populate based on the date value selected in VAR1.
    Example: If 07/13/2004 in VAR1 ; VAR2 is to be populated as 704.
    If I changed the value of VAR1, VAR2 is going to be re-calculated automatically
    Thanks in advance

    Yes, as the error message says, you need to define a same-page branch. When a page is submitted, after all the processing is done, branches are evaluated to determine which page to go to next. Click on the + next to Branches on the Page Definition screen to create a branch.

  • How can I turn off the automatic reload/refresh on websites like Drudge Report?

    These sites refresh about every few minutes are this is annoying when I'm in the middle on reading something.

    The Drudge Report site uses a JavaScript timer to reload the page every 3 minutes.
    You can cancel the timer on that website with this bookmarklet.<br />
    <br />
    <pre><nowiki>javascript:clearInterval(timer);void(autoRefresh=null);
    </nowiki></pre>
    * http://en.wikipedia.org/wiki/Bookmarklet
    See this for a Greasemonkey script:
    *http://userscripts.org/scripts/review/13594

  • Page reload/refresh after printing Oracle report.

    I have upgraded from version 3.0.1 to version 4.0.1 and I am having an issue.
    I have a page with a tabular form (SQL Query - updateable report) which allows me
    to select items I want to print.
    The report looks like the following:
    Name          Print
    Template 1     Y/N
    Template 2     Y/N
    Template 3     Y/N
    Template 4     Y/N
    The print column is a static LOV with a 'Y' or 'N' option.When I submit the page, a MRU runs and sets a flag for each item I want to print in the database.
    It then branches using "Branch to URL Identified by Item (Use Item Name)". The URL specifies an Oracle report
    server and the oracle report to print.
    All this works fine and the items that were selected, print out. An Oracle Reports Job Status is displayed
    on screen (this originates from the oracle report server) to indicate that it has "successfully run" along with
    an OK button. The OK button contains the following code: javascript:history.back()
    A process also exists on the page ("On Load - Before Regions") that resets any flags that were set in the database
    when the page is loaded and so the report will displays all N's in the Print column.
    Now my problem is that in version 3.0.1 when I hit the OK button it would return to the page in the apex
    application that branched to the oracle report and the page would be reloaded, where as in version 4.0.1
    the page is not reloaded.
    Any ideas how to fix this or can someone suggest a new way of achieving the same result.
    Any help would be appreciated.
    Regards,
    Ryan

    Hi Prabodh,
    I have used Debug mode and I see 2 debug entries added.
    The first is just displaying all the page defaults - (I think the page gets reloaded when you select debug from the developer menu)
    The second is the SUBMIT request and it shows the initial value of the hidden item (ie null) and then where I changed its value (ie Y).
    The problem is, it does not list an entry for the page when it returns from the Report Status page, so I have no way of knowing if anything is
    changing its value. I even changed code to set the item to N instead of null and then to Y on submit. But when I return from the Status page
    the value remains at N, even though if I check the Session State values it will say Y. The only conclusion I can come to is that it is using the
    cached values and effectively just displaying the values set before I submit the page.
    I have been playing around with iFrames and it seems to work the way I want.
    I created a new Page (5), then a HTML region. Within the HTML region i have the following code
    <table>
    <tr>
      <td>
       <iframe src="&P1_URL." width="500" height="300"></iframe>
      </td>
    </tr>
    </table>I also create a button (Return) + branch and on submit will return to page 1.
    From page 1, instead of branching to a URL, I now branch to page 5. This loads the Report Status page into my iFrame and indicates that it was
    successful, but now instead of using the OK button within the status page I use the Return button that is part of the Apex application.
    This way I no longer need the javascript or hidden items to try refresh the page , it will be done automagically once the return button is pressed.
    I know it may not look great but it is the only solution I can get to work at the moment.
    Thanks again for all your help, I really appreciated it.
    Regards,
    Ryan

  • I have to confrim each time I try to reload/refresh a page. Why

    I have to send a confirmation every time I try to reload a page Why

    This happens only when you are sending forms.
    For example, imagine you are sending an order, if you refresh, you will be potentially re-sending the order, causing you to have 2 orders.
    Of course, this might be bad because it means you'll potentially pay 2 orders.
    It might be also good, because it's useful to refresh when an order doesn't go through, effectively re-sending everything.
    So the warning is just so you know that the form will be re-submited. It's a warning, it won't stop you from doing anything.
    Thanks for asking :).
    P.S.: The answer above applies to all default firefox installations that try to resubmit a form. If the warning happens everytime you refresh, in any site without a form, most likely this is a warning not caused by Firefox but by an addon.

  • Spry tabs shouldn't open before page reload/refresh

    I have a big problem.I said "big problem".Because it has stolen my days/weeks.I have tab panel(5-6 tabs). When i clicked any tab, naturally content doesn't reload page.At the point i added url's end ?tab=0, for example : myprofile.php?tab=1.Now i clicked a tab and reload page.But when i clicked a tab, firstly tab display later page reload.This situation is unpleasant.I want to open when i clicked tab, after reload page, show tabs contents.I have looked for it for days.But i couldn't find.
    Please help me.
    Thanks.
    Battal Gazi

    I am glad to help.Theese my codes :
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_goToURL() { //v3.0
      var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
      for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
    //-->
    </script>
    </head>
    <body>
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0" onfocus="MM_goToURL('parent','dodo.php?tab=0');return document.MM_returnValue">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0"><a href="#" onclick="MM_goToURL('parent','dodo.php?tab=1');return document.MM_returnValue">Tab 2</a></li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">deneme</div>
        <div class="TabbedPanelsContent">
          <p>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbkkkkkkkkkkkkkkkkkkkkkkkkkkddddddddddddddddddddddddddd ddddddddddddddd</p>
          <p>sddssdjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk</p>
        </div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", { defaultTab: -1 });
    //-->
    </script>
    </body>
    </html>

  • OnChange javascript code to reload/refresh page

    Hello,
    I am trying to refresh the page when a field gets changed using javascript onChange.
    <Property name='onChange' value='JavaScript:location.reload(true);'/>
    also tried
    <Property name='onChange'>
    <script>
    JavaScript:location.reload(true);
    </script>
    </Property>nothing works. I know i could do action, but there is a sun bug with internet explorer which never reloads the pages in selector field.

    Acrobat/Reader 11 allows you to use the printRange property of the PrintParams object that's used with the print statement: http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.1013.html
    See the sample code included at the link above.

  • When a website takes too long to load I push reload/refresh, but when I pushed it, it ruieds the site making all the pictures disappear and have all the words to pushed to the left and I can't do anything on the site, is there some way to undo this?

    The times this happened was on facebook: there is no pictures, only words, but the words are all smashed to the left. The other time was on grooveshark. When I refreshed/reloaded everything disappeared and now when I go to that website it shows no music just about 3 words pushed to the left.

    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • Have deleted firefix and then tried to looad a clean version but it reloads the older header with two google searcxhes etc that I just cannot get rid of. How do I create a new clean version please/

    I had two tool bars with google search in the header part . Cannot delete them even if I delete firefox and relaod. Am not sure where any other details I have could be stored that I haven't found. I now assume it is on the firefox web site. I just want to download a clean (new) copy of firefox and none of the stuff I had as add ons in the one I have just deleted (twice because it will not disappear so there are files somewhere I can't find. Please tell me how to get a clean version with no old stuff from previous load.

    You can uninstall the relevant extensions from Tools>Addons to remove those toolbars. Also there may be some unwanted plugins which you may want to disable. This should solve your problems.
    If you still want a clean profile, uninstall firefox with the "Remove my Firefox personal data and customizations" checkbox enabled. Alternatively you may remove your firefox profile folder which (on Window7) is stored in C:\Users\<your-username>\AppData\Roaming\Mozilla\Firefox\Profiles folder with a randomly name. You may delete this folder before installing a new version to get a clean profile.

  • How can I reload (refresh) my files into iTunes

    Hello,
    My iTunes folder and library is in its default location and I do not want to change my iTunes Library to an external harddrive. I do however have files on an external harddrive, which are also part of my media library in iTunes. Every now and again that drive is disconnected and slowly the covers start to disappear, if I reconnect, then iTunes regards these files as still missing, how can I "refresh" iTunes to check if the files are present, without having to delete the album and dragging the folder back into iTunes, then it work. If I play the file then it works too, but it would take to long to play each file individually to wake up iTunes.
    Is there a way to refresh?
    Thanks for any and all replies.

    I've seen this topic discussed for many years now, and don't think there is a definite method.  iTunes only reads files if you really change something about them, otherwise it relies upon what it has in its library database about the track. Things to try:
    Grab files in a playlist and start to drag to another playlist, but stop before you do so and just let them bounce back into place.
    Play files (you've tried).  There's a Dougscript called Needledrop that will just play a file for a few seconds, but still a hassle if you have 10,000 tracks.
    Try Dougscript MIA an see if it tickles the files enough to get them to update.
    Find some junk field in your files (for example, "show" usually is empty for music files).  Get info on a series of files, change the field contents so it re-writes all the files. (Yeah, not ideal.)

  • When I click or type in a valid link, I get the message "The URL is not valid and cannot be loaded." I have to reload/refresh the page one or more times until the same page loads.

    This happens with small sites as well as major ones such as amazon.com. It happens frequently with many different websites both when typing in a URL or clicking on one from search results or other pages. If I am opening it in a new tab, the page is blank and the correct URL shows in the address bar even though it didn't load. When I get the message "The URL is not valid and cannot be loaded" I have to click okay and then click on the link again or click refresh. Sometimes it loads on the 2nd try; other times I have to refresh multiple times to get it to load.
    Anyone know what is causing this or what will help?

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    See also http://kb.mozillazine.org/Error_loading_websites (Error_loading_some_websites)

  • Screen Fade/Reload/Refresh = SLOW

    Happening only in LiveCycle - what gives??
    When I open a PDF using Designer, the whole screen slowly "fades" in. IE, the screen fades the image of the PDF from transparent to solid, but does so very, VERY slowly. (I can watch it redraw several times.) It's like it's thinking or batching the information. Seriously eats up my creation time!!!
    How do I turn off this annoying behavior and have it revert to it's previous, very fast 'file open' operation? I can't find help on this anywhere!

    Hi,
    Create a template with something like that :
    <$utLoadResultSet("wf_in_queue", "WorkflowInQueue")$> <$i = 0$> <$loop WorkflowInQueue$> <$i = i + 1$> <$endloop$> Active Workflow number = <$i$> 
    Modify the header and add a div in which you will insert the content of the template every x minutes with an Ajax call to the template.
    The URL to retrieve the template content (for your Ajax call) :
    https://YOURSERVER/cs/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=WfAssignmentNumber
    Romain.

  • Tab groups don't reload/refresh when reopening firefox

    When I reopen Firefox, my tab groups are there, but they stay on the same content as when I closed it - sometimes hours ago. Sites like CNN, or MSNBC change content many times an hour. I have to manually refresh all tabs before I see the latest news.

    # Closing Tab Groups – Each tab group has a close button in the upper-right corner. Clicking it will close that group and all of its tabs.
    * If you've closed a tab group by accident, you can click the Undo Close Group button to restore it before leaving the Panorama view.

Maybe you are looking for

  • How do i properly erase an iphoto folder?

    unfortunately (and ironically), in my paranoia to not lose any photos, i've imported similar photos several times into iphoto. i then used iphoto diet, but it does strange things sometimes - in my experience, it doesn't always remove the proper dupli

  • XML parser causes memory leakage, help!

    I have the following function which called by other package to transfer xml. But every time it is called oracle will consume 600 to 700k memory and never release them. Any thought about it? Function Transform(xml Clob,xsl Clob) Return Clob is p xmlpa

  • Where can i configure the external email id

    Hello, can any one tell me where can i give  the external E-mail id ...after configuring the SMTP. to receive the mail in the xi inbox i gave the mail id in fixed receipients, now i want to give the  external mail id whi is not user in XI. thanks, Ga

  • MIGO t code for Material Slip field , i want to add F4 values

    Hai in MIGO t code for Material Slip field , i want to add F4 values, cna u give me details procedure. thanks in advance

  • Monitoring Exchange 2010 from external network

    I would like to monitoring the following services pf Exchange 2010 from external network / internet 1) SMTP (To confirm the mail has been accepted for delivery) 2) ActiveSynch (Mobile device can login and synch different folders) 3) WebApp (Users can