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

Similar Messages

  • Strange Error During Page Load in Debug Mode (only) - Please Help!

    Hi All,
    Data base version: oracle 11g
    Apex version: Apex 4.1.1
    Webserver: Apache
    Need help with how to troubleshoot a Critical problem. The following error only occurs during page load in "Debug" mode. And, only occurs on a specific page within the application. A web page is served-up containing the following message and the application is blocked from running the page. The browser's (IE 8.0) back button must be clicked to proceed outside of "Debug" mode.
    "Error occurred while painting error page: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06502: PL/SQL: numeric or value error: character string buffer too small"
    Debug log follows:
    "S H O W: application="2006" page="6" workspace="" request="" session="500549669426301"
    Computation point: Before Header
    ...Perform computation of item: APP_SERVER, type=FUNCTION_BODY
    ...Performing function body computation
    ...Execute Statement: declare function x return varchar2 is begin return owa_util.get_cgi_env('SERVER_NAME'); return null; end; begin wwv_flow.g_computation_result_vc := x; end;
    ......Result = 156.9.122.214
    ...Session State: Save "APP_SERVER" - saving same value: "156.9.122.214"
    Processes - point: BEFORE_HEADER
    ...Process "GET_POSITION" - Type: PLSQL
    ...Execute Statement: begin wwv_flow.g_boolean := :F109_POSITION_ID IS NULL and :APP_PAGE_ID != 101; end;
    ......Result = FALSE
    ......Skip because condition or authorization evaluates to FALSE
    ...Process "Get JARS Sifter Log File Record Count" - Type: PLSQL
    ...Execute Statement: begin DECLARE vcnt NUMBER := 0; BEGIN d('Get JARS Sifter Log File Record Count'); Select count(*) into vcnt From JARS.JARS_SIFTER_LOG Where moveid = to_number(:P6_MOVEID) and sifter_status IN ('F','J'); :F1000_P6_SIFTER_LOG_COUNT := to_char(vcnt); END; end;
    Custom: Get JARS Sifter Log File Record Count
    ...Process "Set PTM Planned Trip Status" - Type: PLSQL
    ......Skip because condition or authorization evaluates to FALSE
    ...compatibility mode - do not set mime type
    ...compatibility mode - do not set additional http headers
    ...close http header
    ...metadata, fetch item type settings
    ...metadata, fetch items
    Show page template header
    Rendering form open tag and internal values
    Add error onto error stack
    ...Error data:
    ......message: Error processing request.
    ......additional_info: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ......display_location: ON_ERROR_PAGE
    ......is_internal_error: true
    ......apex_error_code: APEX.UNHANDLED_ERROR
    ......ora_sqlcode: -6502
    ......ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ......error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW", line 3027 ORA-06512: at "APEX_040100.WWV_FLOW", line 7867
    ...Show Error on Error Page
    ......Performing rollback
    Rendering form open tag and internal values
    ...Unhandled Error while painting error page: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ...Error Backtrace: ORA-06512: at "APEX_040100.WWV_FLOW", line 2707 ORA-06512: at "APEX_040100.WWV_FLOW_ERROR", line 185
    End Page Rendering"
    Thanks!
    Bernard

    All,
    It appears that the page Javascript maximum limit size was reached. The error stopped appearing after some of the page Javascript code was removed out to Application Static Files. I wonder if there exists any "direct" indicator by the system whenever the size limit has been reached?
    Again, the run error only occurred when the page was loaded in "Debug" mode.
    Bernard

  • How i can check whether a component is being placed or it's being rendered during page load...

    Hi,
    I have a piece of code which needs to be triggered only when the component gets rendered.. and at the same time it shouldn't get trigerred when author places it in the page...
    For an example, Consider i have a component called samplecomponent. Also i have a piece of code in samplecomponent.jsp which should get triggered only when the component is being rendered during page load and if author places that component in the page (ofcourse the samplecomponent.jsp will get triggered but my particular piece of code should not get triggered.. Is there any condition to check that..?
    Thanks
    Shankar .A

    Hello Shankar,
    I think this is very straight forward and you can set this condition based on any of the property of your component via check null/empty condition because when you will drop your component the properties of your component will be not initialized and you can check for at (let say you have a property which is mandetory so to instantiate that component you have to have at least that property)
    And let say if above option doesn't work for you then there is one more option of checking the edit mode of the page and based on that you can differ your code. But edit mode code will not work until you will see the page in edit mode, the code will only work when you switch to preview mode (publish mode) of page from edit mode (from sidekick at bottom you have option to go to edit and preview mode).
    WCMMode mode = WCMMode.fromRequest(request);
        if (!mode.equals(WCMMode.EDIT) && !mode.equals(WCMMode.DESIGN)) {
         //this part of code never execute when your page is in edit mode (dropped content or load the page in edit mode). but this part of code will run when you switch from edit mode to previe mode (in author node) or on  publish instance of Server because there will be no edit mode there.
    Let me know if you need more information or it doesn't help you.
    Thanks,
    Pawan

  • After REFRESH the cached object is not consistent with the database table

    After REFRESH, the cached object is not consistent with the database table. Why?
    I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
    in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
    Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
    JDeveloper.
    How to make the JDeveloper's offline tables to be synchronized with the underling database tables?

    qkc,
    Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
    John

  • How to set default date of 3 weeks(21 days) from today's date during page load?

    I want to show the default date as 3 weeks from today's date during page load.
    For example ,i have given as adf.CurrentDate + 21 in EO for the attribute 'DueDate'. But it is showing me the date as 9.7.2013. 3 weeks default date is not getting set.If i give adf.currentDate also ,it not giving me today's date,it showing the 9.7.2013 only.Kindly provide your suggestions to set the default date as 3 weeks from today's date during page load.Thanks in advance.

    Hi,
    when you set the value on the entity level then you don't want to show it during page load but when the field is empty ? Correct? if so then the use case is a different one. The easiest way to implement this would be to create a Rowimpl class (Java option) and then in the get method of the entity attribute check if the value is null and if it is, set it to the current date + 21 days. This way all rows will be set with the 3 weeks due date but fields are not overridden each time the row is queried
    Frank

  • Make an AM function execute only during page load time

    I have a function in the AM. I want to have it executed only during loading of the page. How can I achieve it.
    Message was edited by:
    mailsubhra

    Thanks a lot for the link.
    But my case is slightly different. I have a VO where I bind some variables. I run the first page and get some data. I am sending the fetched data from the first page to the second page using pageFlowScope.
    In the second page, I am binding a fucntion which will set the bind variables with some values (the values are the ones which are fetched from the first page using pageFlowScope). The VO is dropped as a table in the second page.
    So, to summarize, the situation is as follows:
    There is a VO which is dropped as a table in page2.jspx This VO has some bind variables. There is also an AM function which is bound to the page2.jspx and this function will set the bind variables using setNamedWhereClauseParam(...). The arguments to this function are passed from the pageFlowScope.
    Now there is a page1.jspx where I am able to select something and push the selected values to pageFlowScope.
    As I navigate from page1.jspx to page2.jspx, I want the VO in page2 to refresh according to the values chosen in page1. Hence I want the function to execute only when the page2 is loaded. If the function is not called during the rendering of page2.jspx, then the table becomes empty because the bind parameters in that VO are automatically set to null.

  • Application cache reinitiates download on every page load (even if manifest file is unchanged)

    in safari & chrome my application cache initiates a new download only when the manifest file has been update (as expected). In FF5.0 it initiates the download on EVERY page load.
    When I view the data @ ''about:cache > Offline cache device > List Cache Entries'' I notice all of the pages listed are "0 bytes" in size, while the CSS/JS/images are given correct size data...
    Is this a bug or has anyone dealt with this issue before?

    Anybody? This is a bit of a blocker for me :(

  • Execute code on UI component during page load

    Hi All,
    I am usng Jdeveloper 11gR2.
    I want to invoke below code snippet to change the properties of input text fields and set them to enable on page load -
            FacesContext facesContext = FacesContext.getCurrentInstance();
            UIViewRoot root = facesContext.getViewRoot();
            RichPanelFormLayout formClass = (RichPanelFormLayout)root.findComponent("id");
            List<UIComponent> uiComponentList = formClass.getChildren();
                  for (UIComponent uiComponent : uiComponentList) {
                      if (uiComponent instanceof RichInputText) {
                          //((RichInputText)uiComponent).setDisabled(true);
                          ((RichInputText)uiComponent).setColumns(100);
                          Boolean flag = ((RichInputText)uiComponent).isChanged();
                          System.out.println("flag - " + flag);
    At present the code snippets works well on command component action but I want to execute the same during initial page load without the use of any command component.
    Please advise on how to achieve this.
    Best Regards,
    Ankit Gupta

    Check out https://blogs.oracle.com/adf/entry/an_epic_question_how_to
    Solution 2 (invoke actions) are deprecated in 12c so I wouldn't recommend using it.
    Timo

  • Why is Spry Tabs dropping below content out of view and back during page load.

    Hello everyone, I'm having some
    Spry Trouble. This is happening only in IE 7.
    When the page loads, you'll notice that the tabs will
    collapse before coming back to it's designated position.
    This ruins the visual appeal. Again I don't know why this
    happens but the tabs at the bottom of the content will quickly drop
    below out of view and then jump back under the content.
    Here is the URL
    http://www.patrickjudson.com/weddingIndex2.php
    Any ideas why this is happening?
    Thanks everyone - Patrick

    quote:
    Originally posted by:
    Newsgroup User
    Webethics wrote:
    > Hello everyone, I'm having some
    Spry Trouble. This is happening only in
    > IE 7.
    > When the page loads, you'll notice that the tabs will
    collapse before coming
    > back to it's designated position.
    > This ruins the visual appeal. Again I don't know why
    this happens but the tabs
    > at the bottom of the content will quickly drop below out
    of view and then jump
    > back under the content.
    >
    > Here is the URL
    http://www.patrickjudson.com/weddingIndex2.php
    I don't see the collapse issue on my end. About the only
    visual thing going on is that the background image of the tabs
    appears later than the text, but not sure that's an issue that's
    particular to the Spry code on the page.
    Perhaps it's related, or perhaps not, but in my IE7, I get an
    error on the page. It states:
    Line: 48
    Char: 3
    Error: Object required
    Code: 0
    URL:
    http://www.patrickjudson.com/weddingIndex2.php
    I only see HTML code at line 48 both in the source code, and
    even if I pull the generated content view source from Firefox. I
    checked line 48 of both of your attached JS files and neither
    seemed to be an obvious issue. I even saved a local copy of the
    page, and didn't get an error at all. The line of code in the HTML
    does seem to be the end of the div that contains your music player,
    maybe it's causing an issue in IE, not sure.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert
    So why is there an error in IE7 saying object required.
    What does this mean, and what are the side effects?
    Any idea?
    Patrick

  • Error while refreshing the cache ...

    Hi,
    In cache R/3 side shows me two red triangles: unable to refresh content and an error during last update. The error id BUSINESS_SYSTEM and the message is: NO INTEGRATION SERVER.
    Please help me resolve this.
    Regards,
    Mahesh.

    Hi Mahesh,
    perform SLDCHECK even try this SXMB_AMD
    pls do chk this links
    /people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off
    /people/sravya.talanki2/blog/2006/12/19/unable-to-read-integrationdirectoryhmiundocumented-bug-sxicache
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    /people/sravya.talanki2/blog/2005/11/03/cache-refresh-errors--new-phenomena
    if found worth pls do the req
    Thanx
    Sampath

  • GP Work Items are not coming in UWL after refresh the cache.

    Hi All,
    We are facing strange problem. We have cleared the UWL Cache for the GP connector and after that workitems releated to GP are not showing up into the UWL.
    Any Idea.??
    Thanks
    Dheerendra

    Hi Dheerendra,
    Are you using Federation by any chance? I mean, your GP runs on one server and you are using the UWL on the other server via federation? If yes then please check if the federation has been configured correctly and is working fine.
    The other thing you can check is that the GPConnector is deactivated by mistake. If yes, then activate it.
    Another check can be done in the System Configuration of the System Alias you are using for the GPConnector. Check whther it is pointing the correct sustem configuration. check whether the connection tests to that system are successful.
    Also check whether the GPWorkItemProvider Web Service is working.
    Regards,
    Ajay

  • How to show all the search result in a report page

    I have a report page which the user can enter first or last name to find the matched employees. The current report only show maximum of 15 matched results. How to show all of them in one page if more than 15.
    Also, the employee name on the report is a link, how to make the link to be conditional. ( I mean it can be a link or not based on another column)
    Thanks.
    Jen

    Hi, you can change the number of rows on the report definition page (15 is the default value)- that's also where you can change pagination and max. number of rows etc.
    About the second question - you will have to use Case or Decode in your report query and have the value as link or not based on the condition column, something like:
    Select Decode(condition_column, 'link_value', '<a href="f?p=YOUR_APP:PAGE_TO_LINK_TO:'  || :SESSION || ':::::">display_column</a>' , display_column) From .....
    Hope this helps.

  • Browser freezes during page loading and then either shows the cause as silverlight, or flash to be the cause, on two different computers, since last 3 upgrades

    Since the last three upgrades of Firefox the browser starts to load a web page then freezes. A pop up states that either silverlight or flash have stopped working. This can last for as long as two minutes before it continues to load, or for as little as five seconds.
    I have tried various methods to cure this, by reinstalling silverlight, flash, and Firefox.
    The only permanent cure is to revert back to an older version of Firefox. I would continue with an earlier version but I get sick and tired of popups from the likes of Yahoo, and yourself telling me to upgrade.
    I have also put the the program back to basics, and this is a pain because when I find it's still the same I have to reload all the add ons. Maybe you could devise a method where we only need to click a button to put everything back as it was before resetting it to default.
    This problem is occurring on two totally different computers, both running Intel gear, one i7 at 3.5, with 8 meg of ram, one core 2 duo with 4meg of ram, no drain from graphics cards as they all have their own ram.
    i7 desktop Windows 7 Ultimate 64bit, and Dell XPS Laptop core 2 duo Windows 7 Ultimate 32bit both latest windows 7 versions

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Try to disable hardware acceleration in Firefox (you need to close and restart Firefox).
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that helps.

  • When I select a part of a text and click in "Search Google", a new tab is opened. I don't like the switch. I want the search result in a background page.

    When I select a part of a text in a page, use the right button of mouse and click in "Search Google for "the text"", I want a new tab open in a NEW TAB BACKGROUND. How do I set that? Thanks.

    Ok, I found a reply about it in
    https://support.mozilla.org/en-US/questions/952403
    "hello, its possible to achieve this through the settings in firefox - just enter '''about:config''' into the firefox location bar (confirm the info message in case it shows up) & search for the preference named '''browser.search.context.loadInBackground'''. double-click it and change its value to '''true'''. "
    Thanks!

  • HT5129 I am having trouble downloading  the images, It locks up during down loading.

    Nice Idea, wish you could down load one album or several albums as a time, I have been trying to down load my images and the system keeps hanging up,
    I have about 200 albums and 20,000 images.   It appears the down load begins by setting up each folder and then downloading images form each folder one at a time.  I wonder if it gets hung up on videos in a folder or larger images.  I found this out after several failures and looking in the trash where all the albums were listed with only one to two images in each folder and the computer was locked up in a loop.  Hope they can fix it.
    A great idea, wish I had it earlier.

    "itunes did not download properly; please reinstal."
    What's the precise text of that message, please? (There's a few different ones I can think of that you might be getting.)

Maybe you are looking for