Apps2Fusion.com

Forum for Oracle eBusiness Suite Topics

Skip to content


Advanced search
  • Board index ‹ Development & Customization in Oracle Apps ‹ Mobile Web Applications - MSCA/MWA and OAF on Windows Mobile Devices
  • Change font size
  • Print view
  • FAQ
  • Register
  • Login

Profile values being cached

Discuss here development and extension of MSCA/MWA. Also development of OA Framework on Windows Mobile Devices
``````````````````````

Moderators: kalimuthu, sshanmug

  • • View active topics
Post a reply
1 post • Page 1 of 1

Profile values being cached

Postby /dev/null on Wed Aug 19, 2009 8:37 am

I am using an apps profile value within my page. If I log in, the system profile is picked up however if I then change it through apps, the old value is still fetched. This is the case even if I log out and in again. I don't want to have to bounce the server every time I change a value.
Is there a way to ensure that the latest value is always fetched?
I am using:

Code: Select all
  private void checkMandatoryAssign(Session s) {
    String r="";
    try {
        AppsContext appsContext=(AppsContext)s.getObject("CTX");
        if (appsContext!=null) {
          ProfileStore p=(ProfileStore)appsContext.getProfileStore();
          r=p.getProfile("PROFILE_VALUE_NAME");
          }
        else {
          UtilFns.trace("Could not get apps context");
          }
        }
      catch (Exception ex) {UtilFns.trace("Failed to get context" + ex.getMessage());}
     
    if (r.toUpperCase().equals("Y")) {
      /*Do stuff here*/
      }
    }/*checkMAndatoryAssign*/
/dev/null
Expert
 
Posts: 44
Joined: Tue Mar 31, 2009 4:13 pm
Top

Post a reply
1 post • Page 1 of 1

Return to Mobile Web Applications - MSCA/MWA and OAF on Windows Mobile Devices

Who is online

Users browsing this forum: No registered users and 1 guest

  • Board index
  • The team • Delete all board cookies • All times are UTC [ DST ]
Powered by Focus Thread Limited © 2000, 2002, 2005, 2007