Clear Cache-Single Page Item

I need to clear the cache for a single page item. This is what I have done:
- Created button call Reset Appt Time
- Created Process - Clear Cache for items, Source has the page item I need to clear - P3_APPT_DT_TM
- Created Branch - so that when Reset button is pressed it branches back to same page (3)
Everything works, but the cache is cleared for all the items on the page not just the one page item I specified.
Please advise.

Hi,
I am not sure if you could clear cache of a single item, but you can initialize any item to null or any values, look for the Action box of Page Branch, (set these items and set these values ).
Regards,
Manish

Similar Messages

  • API for clearing cache of page items

    Is there an API for clearing the cache of page items? I see there is a procedure called CLEAR_PAGE_CACHE in APEX_UTIL package to clear the cache of all the items on a page, but wanted the equivalent for an item. Maybe I'm making this harder than needed. No idea.
    I realize there is the option of creating a page process called "Clear Cache for Items (ITEM,ITEM,ITEM)" on a page, but I am trying to do this in an application-level process.
    Shane.

    FYI... I found that using [ apex_util.set_session_state ( 'item name', '' ); ] worked for me.

  • Clear Cache for Certain Items on Tab Click

    I found this in the forms:
    If you want to clear the cache of the page submitted when the tab is clicked, that should be the job of that page. You can create an after-submit process (before computations and validations) with:
    apex_application.clear_page_cache(:APP_PAGE_ID);
    However, I need to clear certain items not everything on the page. I tried substituting apex_application.clear_item_cache(:APP_ITEM); but that doesn't work. What is the process that clears the apex_application item cache?

    Is the page you're clicking away from executing a submit when you click away? If so, I would try either of these in a page branch.
    Assume you are on page 1 and clicking to page 2. On Page 2, let's say you want to keep the cache on items P2_A, P2_B but clear the cache for P2_C.
    In your page branch (defined on page 1) that fires to take you to page 2, try either of these:
    Clear cache on page: 2
    Set these items: P2_A, P2_B
    With these values: &P2_A., &P2_B.
    That should clear all of 2 but reset A and B back to their current values from the cache before it's cleared.
    Or, try this:
    Clear cache on page: (don't put anything here)
    Set these items: P2_C
    With these values: (don't put anything here)
    That should (I think) only clear P2_C

  • How to Clear Cache for all Items of the Current Page of a TAB

    Hi,
    I am having a TAB, when that tab is clicked..it goes to suppose Page 1, what I want to Clear the Cache of Page 1 ...as soon as Page appears...
    I don't see any option for that in the TAB Definition Properties....
    Thanks,
    Deepak

    I got the solution....
    refer by SCOTT...
    Re: ApEx Development Team: tab clear cache - new feature?
    thanks,
    Deepak

  • How to clear cache and other items

    How do you clear cache and check to see if Mac is running properly

    Settings > Safari > Clear Cache/Cookies

  • Item Clear Cache After Submit Press

    hi,
    i have 5 item on a page Like
    P1_A,
    P1_B,
    P1_C,
    P1_D,
    P1_E .
    I want here when i press submit button then value of P1_A, P1_B, P1_C, P1_D, P1_E should be in insert into table and clear Cache last item P1_C, P1_D, P1_E
    and value of item P1_A,P1_B should not be clear Cache.
    How can i Clear Cache the selected item .
    Thanks
    Manoj Kaushik
    Clear Cashe Selected Item On Press Submit Button

    hi ,
    I have one more proble,
    I have implement e-mail option in my application,i have two report first one contain List of all document and a Link In last Column in that report when i click at that link then respective Document are Add in Second Report .
    But problem is when i click Attach LinkThen page is Refresh and All Fill Value In ITEMS are clear which are on page 4.
    How can i stop to clear these item value if i attch document.
    Workspace: SKILLS IMPROVE
    User: [email protected]
    Password : desomu
    Application -42370
    Page No 4
    Thanks

  • Clear Cache of item in validation

    Hi,
    I am working on Form with Report. i want to clear cache of the item in validation code.
    i am sending you my code:-
    DECLARE
    CNT NUMBER;
    BEGIN
    SELECT 1 INTO CNT FROM CURRENCY_MAS WHERE CODE =:P111_CODE;
    APEX_UTIL.CLEAR_ITEM_CACHE('P111_CODE');    // This Statement is not working
    RETURN FALSE;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETURN TRUE;
    END;

    Hi Jari,
    Thanks to Reply me.
    I am getting problem. I am using form with report. I am doing this Because i want to keep
    the control to the "Create" New entry form until validation not satisfied.This problem has been resolved by the code.
    But as i do the any entry in ":p1_code" Primary Key item It giving the error Unique constraint voilated even if value not exist into the table.
    ORA-00001: unique constraint (TADEV.CURR_UK) violated
    Unable to process row of table CURRENCY_MAS.

  • Inserts using Automatic Row Processing (DML)  should not clear cache

    Hi,
    I am using APEX 4.0.1.00.03.
    I created a form on a table for inserts and updates.
    After I do an insert, the Automatic Row Processing (DML) clears cache for all items on the page.
    But the user wants to see the data he inserted without having to query. How can I achieve this?
    Thanks
    Chandra

    There isn't any "reset page" process on my page.
    --Chandra.                                                                                                                                                                                               

  • Clear cache in the session

    In my application, there are multiple tabs created. Each tab has a different functiionality. When I enter some value in the first tab and after processing the page, if I navigate to another tab and again come back to the previous tab, the value entered in the text field is still displayed.
    My requirement is to make the contents of the text field null when ever I navigate to that page.
    In short within a session, the values entered in the text fields are not cleared when navigating between pages.
    Any ways to achieve this?
    Regards
    Amit.

    U have clear cache option in tab entries details.. set it to pages which U want f.e. 3,7 - will clear cache of page 3 and page 7.
    Other way is to change in item option "Source Used" to "always replacing...."
    is that what U are asking?
    Edited by: nirud on 2009-09-22 06:13

  • Apex not clearing cache

    Using Apex 4.1.1 on Oracle XE 11G (Linux)
    I have a form and a report in and when you click on create button it will clear the cache in page 6 so you can create a new entry.
    If click on the link on table which will set the value of P6_TID (type hidden) with a value, the typical Form & Report setup except I created it manually and was working fine for over a month since creation.
    Now when I click on the CREATE button its no longer clearing cache in page 6. Instead it retrieves the latest values I had earlier (P6_TID holding the latest value).
    However just earlier I was having another issue where I had to drop the parsing schema and got ORA-01940 - cannot drop a user that currently logged in, so I had to do a:
    SQL> shutdown immediate;and as soon as Oracle stopped I started it up and created my user, granted necessary permissions and imported the old DMP file.
    I've gone through this step many times but only now I am getting the ORA-01940 error. So have no idea if its anything to do with the issue of clearing cache I am having. Both issue coincided same time.
    Has anyone had any such problem where they are unable to clear cache for a page or session? I got absolutely know idea what I have to do get it back working.
    Cheers.

    Why would you shut down your database to kick a user. Just do
      select * from v$sessionYou can find your schema that you want to drop with a where clause on the user column.
    Now note the sid and the serial column and do
      alter system kill session '#SID#, #SERIAL#';Replace #SID# and #SERIAL# with the values of your session you want to kill.
    This will stop the ORA-01940 error.
    Now for the APEX matter. The APEX session is completely different from the Database session.
    If you submit values to the server then APEX keeps those values in session.
    If you clear the cache of a page it really means that you clear the values of that page in the session.
    Look in your session if those page items are cleared.
    If they are not cleared there then watch out for a unwanted rowfetch of page processes. If you clear the page cache on create you most not give away any variables to that page hee! (espacially not a primary key)
    Regards

  • Clear cache problem

    Hi,
    I'm using Apex 3.1 and I've created a branch on a page using the following url I found in the documentation:
    f?p=6000:6003:&APP_SESSION.::NO:6003:MY_ITEM:1234
    This should clear cache on page 6003 from app 6000, set MY_ITEM to 1234 and return to the same page.
    Apex interpreted the link and put page 6003 in the clear cache box of the branch's properties. For now all sounds great, the only problem is, that it doesn't actually clear the cache. The url appears in the browser except for the page before the item setting, so it doesn't clear any page caches.
    Is this a bug or is there an option I'm missing?
    Thank you,
    Marc

    Marc,
    Could you be a little more clear on what you are trying to do?
    if you use the following url for example:
    f?p=6000:6003:&APP_SESSION.::NO:6004,6014
    this will take you to page 6003 in application 6000 and clear the cache for pages 6004 and 6014. if you are finding items with values populated, most likely that they are being set by some process after the cache has been cleared.
    Also, how are you checking if the cache for the other pages have been cleared? Have you confirmed that you are not populating the items on these other pages as you are are navigating to that page?
    Use the session link on the developer toolbar immediately after you make you original navigation to clear the cache to check the relevant pages - you should expect to see that they have been cleared in most cases (unless there is a process that is resetting the values)
    Also, just to check/confirm - the syntax is page numbers as in 1,2,3 not P1,P2,P3
    Edited by: Alex_A_N on Sep 3, 2008 7:38 PM

  • [CS3 JS] Getting a page item by its script label

    I have a text frame on a master page with its script label set. In my script, I am trying to get a reference to the text frame with this:
    var doc = app.activeDocument;
    var spread = doc.masterSpreads[0];
    var tabFrame = spread.allPageItems.item("TabLeft");
    I get the error "spread.allPageItems.item is not a function"
    Any help will be appreciated. Thanks.
    Rick

    Hi Rick,
    spread.allPageItems returns a flattened array of all of the page items in the spread, at any level of the hierarchy (i.e., inside groups and other page items). Is that what you want? Sadly, allPageItems does not benefit from the special case where we use the label as a name, so you'll have to iterate if that's what you want.
    As Peter says (thanks, Peter!), spread.pageItems.item("label") gives you all of the page items whose label matches the string, but it does so in sort of a weird way--you'll always get a page item object. If no page items match, you get an invalid page item; if one matched, you get a single page item, and if multiple page items matched, you get a page item object that actually contains multiple page items. It can take a little testing to figure out exactly what it is that was returned.
    Thanks,
    Ole

  • ApEx Development Team: tab clear cache - new feature?

    Hi ApEx Development Team!
    I searched the forum and found, that many have (had) the same problem like me:
    Why isn't it possible to clear the cache by clicking on a tab? Why is it only possible for parent tabs?
    Wouldn't it be a nice feature for the next version of ApEx? This feature exists already, only not for the standard tabs...
    Regards,
    Sofie

    taepodong wrote:
    Apologies to dig up old thread but I ran into this problem and thought I'd share my solution as well (for search engine)There is no point in doing this. There are thousands of threads in this forum that are unanswered, or contain solutions that are suboptimal or that have been superseded. They can't all be updated "for search engine"...
    1) Edit the tab property where you want your page's cached removed. In My case it I had a tab pointing to page 6 and I needed page 6's cache cleared when I clicked on it.
    2) Edit the condition for the tab deisplay --> Function returning boolean.
    3) In the function body put the following code:
    begin
    if :APP_PAGE_ID != 6 THEN
    apex_application.clear_page_cache(6);
    END IF;
    RETURN TRUE;
    end; The expression will always evaluate to true, and will clear cache from page 6 if clicked from any other page that is not page 6.
    However if you want to apply condition to the page as well. (say and admin page based on :APP_USER property) then wrap the return true in another If-statement as well.I subscribe to the old-school idea that state-changing side-effects in functions are evil. Using Condition code in this unexpected way will make an application much harder to debug and maintain. If I came across this in an application I was working on I'd refactor it.
    Scott posted the correct way to do this above (post of 26-Mar-2008 23:00&mdash;not marked as helpful/correct as this was before the forum had this feature): Clear cache using an On-Submit Application Process that is conditional on the <tt>:REQUEST</tt> value set by the relevant tab(s).

  • How to clear cache for items after submitting the page ?

    db11gxe , apex 4.0 , firefox 24 ,
    hi all ,
    i have a non enterable pop-up lov and a report in the same page , and i search with the pop-up item , but the problem is when i click the search button ,
    the value in the pop-up is not deleted , and sure i want it cleared after i search ? how to do so ?
    thanks

    Surely, when you click the search button, the value in your item is required by the report (as a parameter).
    Create a button (RESET) with a branch back to the same page and use the clear cache in the branch
    Gus

  • Clear Cache of a Page using Tabs

    Hello,
    my problem is, that i want to clear the cache of a page, when the user accesses this page by clicking a tab.
    So my Page has six items, which are used to search people in a db.
    Under the items is a submit button, which submits the values in the items and the same page is loaded with the search result.
    But when i go on another page and click on the tab of the "search-page" the result is still there.
    Because of the submit button i can not create a process which clears the cache when the page is loaded....
    I hope you understand my problem,
    Thank you,
    Tim

    This is not possible using the built in Apex tabs. Apex tabs are meant to quickly switch between pages with all your session state intact.
    You can do what you want if you use a List instead of tabs. You have full control over List entries and you can clear cache for the list target page, set other items as needed (you can control the full f?p= URL)
    Hope this helps.

Maybe you are looking for

  • Profit center not picking correctly in PO from sales order

    Hi Experts, Profit center is not picking correctly.. in PO In material master Profit center is configured as XXXX We have raised a sales order for the same material with two line items (e.g) 1500 kgs & 1600 kgs and profit center has been changed in t

  • Time capsule problems after installing Lion

    After installing Lion, I need to regularly shut down iMac(Intel) in order to have Time capsule do the next backup. This method allows me to manually back up the automatic function to back up no longer exists. Also unable to connect to the backup disk

  • Custom-style outline template with prompts and glossary page

    Hello I would like to make a template in Word 2010 with a custom-style outline. Would anyone be able to suggest how to achieve these requirements (pointing me to reading material also helpful): 1. Every phrase the user types into a field gets automat

  • Specific Issue in the Apple Site; maybe it's me?

    When I try to register my AppleCare agreements for my iPod and my MacBook, I can only get as far as the "enter Apple ID and Password" screen. I enter the aforementioned info, then I am forwared to a screen that says MySLQ error, some jibberish, then

  • Is 1.7v vcore safe ???

    Is 1.7v vcore safe ??? I have Thermaltake Silent Boost K8 Heatsink & Tagan Tg-480 (480W) power supply. Temperature - OC at 217 FSB (1:1) - 44-47C    Athlon 3200 (2210 MHz - NC core, no OC) - MSI K8N NEO Platinum (1.4 bios) - 2x 512Mb PC3200 Geil Ultr