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
Similar Messages
-
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,
DeepakI got the solution....
refer by SCOTT...
Re: ApEx Development Team: tab clear cache - new feature?
thanks,
Deepak -
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.
-
Hello again,
i`ve made simple process with type "Clear Cache for Items (ITEM,ITEM,ITEM)" and with process point "On Load - Before Header" through wizard, in "Process" field i`ve inserted all items what i want to be clear on page load(from list below). When i run my page, error is:
Error ERR-1002 Unable to find item ID for item "P12_BIT " in application "123".
OK
Unexpected error, unable to find item name at application or page level.
but, item P12_BIT exists!! and it`s type is "radiogroup", such error is on all items that is in process.
in another app this process works good.. Maybe error is because app 123 i`ve imported?? How can i solve it??
Thanks for help anyway!!Jelena,
In the message:
Error ERR-1002 Unable to find item ID for item "P12_BIT " in application "123".
I see some whitespace after the item name. Looks like we're not preparing that string as well as we should. Please try removing whitespace from the comma-delimited list of item names in the process definition and let us know if that doesn't work.
Thanks for pointing this out.
-Scott -
How to clear cache for a tab through api
How do i clear cache for a tab programatically?
All this info applies to
Portal version 9.0.2.6.18
I found that there is portlet called "clear cache",
under provider portal tools. This when placed on a tab can clear the cache of that tab for a user.
I found this as a work around for the API.
Harish -
Clear cache for items not working with multiple items
APEX 4.0, 11g. I've made a session state process that clears cache for items (item_1, item_2, item_3) but I keep getting an error "Unexpected error, unable to find item name at application or page level" I have now created 3 session state processes, each with one page item in it, and it works fine but as soon as I try to put more than one item in the process field, separated by commas, I get this error. Is there some other setting I have to change to make it accept multiple values in this field?
No, I wasn't using the parenthesis... just the items separated by a comma.
I don't want to clear the cache for all page items, just these 3. It works okay in 3 separate clear cache for item processes, just thought it was odd that I can't put all three items into one process separated by commas. -
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,
TimThis 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. -
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 -
A quick way to set different color for certain items in JList?
is there a quick way of setting different color for certain items in JList?
Either use HTML strings as the values in your JList (quickest, but may not be the most convenient, especially if your model isn't just text), or create your own ListCellRenderer (e.g. extend DefaultListCellRenderer).
There is no such thing as "list.setItemForeground(int index, Color c)". You'll have to use one of the methods above. -
Time Buddy widget says "unable to rebuild path cache for source item"
My Time Machine seems to be backing up successfully to my Time Capsule, but looking at the Time Buddy widget's logs, there's two strange things:
1 - TM is asking for a lot more space than it actually needs for the backup (1.33Gb requested, 205MB used)
2 - It keeps reporting this "Unable to rebuild path cache for source item. Partial source path: "
Should I be worried?
Thanks,
- alan
Starting standard backup
Mounted network destination using URL: afp://Alan%20Jones@7Dargan%20Time%20Capsule.afpovertcp.tcp.local/7Dargan%20Time%20Capsule
Backup destination mounted at path: /Volumes/7Dargan Time Capsule
Disk image /Volumes/7Dargan Time Capsule/MrOmo_001ff3548b9e.sparsebundle mounted at: /Volumes/Backup of MrOmo
Backing up to: /Volumes/Backup of MrOmo/Backups.backupdb
No pre-backup thinning needed: 1.33 GB requested (including padding), 71.38 GB available
Unable to rebuild path cache for source item. Partial source path:
Copied 85540 files (204.8 MB) from volume MrOmo.
No pre-backup thinning needed: 1.12 GB requested (including padding), 70.81 GB available
Unable to rebuild path cache for source item. Partial source path:
Copied 79610 files (40.0 MB) from volume MrOmo.
Starting post-backup thinning
Deleted backup /Volumes/Backup of MrOmo/Backups.backupdb/MrOmo/2009-08-11-040502: 70.81 GB now available
Post-back up thinning complete: 1 expired backups removed
Backup completed successfully.
Ejected Time Machine disk image.
Ejected Time Machine network volume.Alan Jones1 wrote:
My Time Machine seems to be backing up successfully to my Time Capsule, but looking at the Time Buddy widget's logs, there's two strange things:
1 - TM is asking for a lot more space than it actually needs for the backup (1.33Gb requested, 205MB used)
2 - It keeps reporting this "Unable to rebuild path cache for source item. Partial source path: "
Should I be worried?
no. you should only be worried if you see actual problems with backups.
those are informational messages only and TM will work its way through them.
Thanks,
- alan
Starting standard backup
Mounted network destination using URL: afp://Alan%20Jones@7Dargan%20Time%20Capsule.afpovertcp.tcp.local/7Dargan%20Time%20Capsule
Backup destination mounted at path: /Volumes/7Dargan Time Capsule
Disk image /Volumes/7Dargan Time Capsule/MrOmo_001ff3548b9e.sparsebundle mounted at: /Volumes/Backup of MrOmo
Backing up to: /Volumes/Backup of MrOmo/Backups.backupdb
No pre-backup thinning needed: 1.33 GB requested (including padding), 71.38 GB available
Unable to rebuild path cache for source item. Partial source path:
Copied 85540 files (204.8 MB) from volume MrOmo.
No pre-backup thinning needed: 1.12 GB requested (including padding), 70.81 GB available
Unable to rebuild path cache for source item. Partial source path:
Copied 79610 files (40.0 MB) from volume MrOmo.
Starting post-backup thinning
Deleted backup /Volumes/Backup of MrOmo/Backups.backupdb/MrOmo/2009-08-11-040502: 70.81 GB now available
Post-back up thinning complete: 1 expired backups removed
Backup completed successfully.
Ejected Time Machine disk image.
Ejected Time Machine network volume. -
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 ?
thanksSurely, 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 -
How away clear cache for User.
I have a problem with Clear cache.
1. I create a Group name is Group1 that has 4 Privilenge( ).
2. I create a User name is User1 belong in Group1.
User1 has 4 Privilenge of Group1.
3. When I Edit Group1 and Remove 4 Privilenge of Goup1(Now,Group1 has not any Privilenge).
4.But User1 has still admin privilege as the old status.
I think that Websever is cached .Please tell me to sovle the problem.
Best Regards,
thangtkhi,
to clear the cache for a particular user go to the portal admin pages - administer - portal - global settings
navigate to the cache tab
now you can either clear the entire webcache for portal or you clear the cache settings for a particular user.
another possibility (or in addition):
go to the page group settings - access tab - click clear cache.
regards,
christian -
How to clear cache for file server
Hi All,
I want to know that how to clear the cache in solaris using commands.
What is the ip connection cache file?
Please share your knowledge with me.
Thanks in anticipation.
Regards
AnupAll this info applies to
Portal version 9.0.2.6.18
I found that there is portlet called "clear cache",
under provider portal tools. This when placed on a tab can clear the cache of that tab for a user.
I found this as a work around for the API.
Harish -
CRM Availability Check not working for certain Item Category
Hi there,
I have a situation where for certain order type/item category combinations, the availability check on the same material is not working.
The check is set up to happen in SAP ECC.
I have checked the config. under SPRO->CRM->Basic Functions->Availability Check->Availability Check using SAP ECC
as per many SDN posts on this, and everything looks fine.
The new item category, which was a copy of an existing one, works (i.e. gives availability) for certain order types, but not others.
If I create the same order directly in ECC, it works correctly every time.
I searched the code (from consultants who set it up originally) and can see nothing specific to the order type/ item category.
I also put a breakpoint on AVAILABILTY_CHECK function module in SAP ECC - it is not being hit, in the case where check is not successful.
Breakpoints in MV45AFZZ (Sales Order userexit) also not being hit, but they are hit for the Order/item category combination when it works successfully.
Any suggestions on where else this could be configured would be appreciated!
thanks,
DavidHi David,
One 'simple' reason for this could be that the copied item category does not have the
ATP Profile set up in the item category in the IMG. Make sure you have an ATP profile assigned in the area 'ATP Profile' in the item category.
Please see as well the SCN Wiki link:
Availability Check CRM-BTX-BF-ATP - CRM - SCN Wiki
Best regards
Christophe -
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
Maybe you are looking for
-
I receive unexpected server errors
You're not alone, I have a similar issue and I'm being unable to download any app from the downloads section. I get this message:
-
Can we have different products between B2B and B2C
Hi Experts, I have one basic question. Can we maintain the different products between B2B and B2C users. Because we have requirement is B2B users should get all the products, but B2C users should get limited products. Is there way we can set
-
I'm not sure I should do this - but for the desperate ones amongst us an offering from Leadtek - CAUTION may not work for MSI Audio driver 2.99 (WHQL'd) Audio utilities 3.01 Network driver 2.81 (WHQL'd) GART driver 2.78 (WHQL'd) SMBus driver 2.75 (WH
-
My web pages do not load in Firefox whether I try from my Bookmarks or by typing the web address. They load fine in Chrome or Explorer. Here's what happens: Whatever way I choose to access a web page (bookmarks, typing web address, making a search) I
-
Dreamweaver Quits when library updated
I am having problems with dreamweaver when I update the library the application keeps on quiting. I have restarted, downloaded the update and I am still ahving the same problem. Please help. Thanks