Setting App level Items and using it.

Hi all
I am setting the application level item value by application level process which is working good.
application level process : select get_dbname into env_str from dual.
But when I use this variable value, its not working.
In logout URL,, I am trying to put &env_str. but that is not working.
Any idea?
pb

Scott,
Its working, but for some reason this whole thing (using item in logout url) wasnt working for this particular application.
Thanks for the reply.
pb

Similar Messages

  • How do I set apps on ipad to use UK store not USA?

    How do I set apps on ipad to use UK store not USA? Somehow i've changed setting to use USA store and can't switch back to UK.

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you will be located.
    8. Tap "Done".

  • HT1688 when you double tap the home button to go back to your other apps are those apps always running and using cellular data even if I am not currently using them?  I thought it froze them and didn't use data other that a select few apps like Facebook,

    when you double tap the home button to go back to your other apps are those apps always running and using cellular data even if I am not currently using them?  I thought it froze them and didn't use data other that a select few apps like Facebook, email, etc.  Also I always select no when I download an app and it wants me to have those push notifications.  Because that would mean that I would have to delete my apps after everytime I just them from that bar and that would be very annoying and just stupid.  Or maybe apps do use data and it's just a big scheme to make everyone go over on their data plans. 

    This should help: http://speirs.org/blog/2012/1/2/misconceptions-about-ios-multitasking.html.

  • Setting an app level item based on :APP_USER

    I am trying to set an application level item right after I log in and I want the value to be based on the setting of :APP_USER. I created an application level process at the "On New Session: After Authentication" point containing the following code:
    select id into :F107_VOTER
    from el_person
    where userid = :APP_USER;
    This works fine when I run the page from the builder, but fails when I fire up a separate browser session and access the app directly. I'm suspicious that perhaps APP_USER built in item is not defined when the process point runs. Can someone confirm when APP_USER is set relative to this application level process point and/or perhaps suggest an alternative way to initialize an application level item that is dependent on APP_USER?

    Bill,
    The first page that runs in your new session is the login page. So your process runs at the very first opportunity (On New Session:After Authentication) when APP_USER is null, which doesn't do what you want. The name of that process point is misleading, it means after authentication for the current page. For the login page, which is necessarily a public page, the authentication steps are completed immediately after the show processing begins. So then you enter username/password and submit the login page which takes you to the first real page in the app, but still in that same session, but the process has already fired and won't run again.
    I suggest that you create another application item, F107_VOTER_INITIALIZED, change the process point to be Before Header, add a condition so that it runs only if F107_VOTER_INITIALIZED is null, then have the process run the query and set the initialization flag to a non-null value. Of course F107_VOTER itself can be the initialization flag if it is to remain constant throughout the session.
    Scott

  • Setting application level item during authentication

    We’re having an issue with an application level item that we set during our custom authentication function to store a role list for authorization. The issue is that the application level item, which should be set using htmldb_util.set_session_state(‘ITEM_NAME’, p_item_value), is not being set.
    On further investigation we realised that this issue was only affecting developers, not users of the application. This seems to be because the home page link, set in Shared Components > Edit Security Attributes, is set to “f?p=&APP_ID.:1:&SESSION.”, which means that the developers session was being passed to the application when the “Run Application” button was pressed. What then happens is that following the successful execution of the authentication function, a new session id is generated and visible on the URL and the Application Level Items are not set correctly.
    Examples:
    I’m developing an application on Apex that has the home page link set to “f?p=&APP_ID.:1:&SESSION.”, here’s the first part of my URL at the Application home page:
    http://apex.oracle.com/pls/otn/f?p=4000:1:1065658352862710::
    I hit “Run Application” and get to this URL (note the session id is the same)
    http://apex.oracle.com/pls/otn/f?p=16033:1:1065658352862710:::::
    I log in using any old username and password (the auth scheme on this demo app always returns true) and I get to this URL (note the session id is different):
    http://apex.oracle.com/pls/otn/f?p=16033:1:1403999736046638
    My application level item is not set and I start to cry. When I recover from my tearful episode I try to log in again, I hit logout and get taken to this URL:
    http://apex.oracle.com/pls/otn/f?p=16033:1
    I log in again (with the same username or different, it doesn’t matter) and low and behold, my application level item is set ok. This is the URL I can see (note another new session id):
    http://apex.oracle.com/pls/otn/f?p=16033:1:4917752800353335
    In despair, I close my browser window and go to my other application, this one has got the home page link set to “f?p=&APP_ID.:1” (no session id passed).
    I log back into Apex as a developer and go to the application home page at this URL:
    http://apex.oracle.com/pls/otn/f?p=4000:1:131988631742187::
    I hit “Run Application” and get to this URL (note the session id is missing):
    http://apex.oracle.com/pls/otn/f?p=19114:1::::::
    I log in using any old username and password (same deal as before) and I get to this URL (new session id):
    http://apex.oracle.com/pls/otn/f?p=19114:1:4320851658879093:::::
    Amazingly, this time the application level items are set first time.
    What I’d like to know (there is a purpose to this) is:
    - Why is a different session allocated to the application after login, when a “developer’s” session id is passed to the application?
    - If I remove the session id from the home page url what is the impact? I can’t think of anywhere within the application that this is used (other than between page 101 and the home page), but our thoughts are that this could mean that users end up generating more sessions on the server.
    - Is there any other way around this, perhaps using a different method of setting the application level item? The authentication procedure which sets the item reads as follows and mimics our authentication procedure (which you can assume does a little bit more than just returning true):
    function test_login 
      (p_username in varchar2 default null, 
      p_password in varchar2 default null) return boolean is 
    begin 
      htmldb_util.set_session_state('F16929_SYSDATE', to_char(sysdate, 'DAY')); 
      return true; 
    end;- Has anyone else encountered difficulties with the setting of application level items during login or has anyone come up with a more ingenious plan for passing something back from authentication that can later be used for authorisation?
    Thanks
    matt

    Scott,
    Many thanks for the response.
    We've found a way around this now, by changing the developer's usernames to the same as their NT/ Active Directory signon, which fools APEX into maintaining the session id from their builder session even though when logging into the application they get authenticated by LDAP.
    Using a post authentication process would be ok but I can't see any way of passing a variable retrieved in the authentication process under the first session to the post authentication process so that it can be set in the second session. We'd either therefore have to insert the data into a table and read it back or add an extra LDAP call to retrieve the user role/ group list during the post authentication process.
    Thanks again,
    Matt

  • How to deploy app level JMS resource using DeployerRuntime?

    I have an app level (described in the app, not global) JMS module. And inside this module I have several different resources.
              Here is my question: when using weblogic.management.deploy.DeployerRuntime (or WLST) what syntax should I use in case I need to set target for each JMSResource?
              Here is my code:
              DeploymentData info = new DeploymentData();
              info.addTarget("Server",null);
              String[] mods = { "JMSModule" };
              info.addTarget("Server",mods);
              String[] jRes = { "JMSModule@JMSResources" };
              info.addTarget("JMS_Server",jRes);
              ObjectName task = ( ObjectName )
              connection.invoke ( deployer, "deploy",
              new Object[] { path, APP_NAME, "nostage", null, info, new Boolean(true)},
              new String[] {"java.lang.String", "java.lang.String", "java.lang.String",
              "java.lang.String", "weblogic.management.deploy.DeploymentData", "java.lang.Boolean"} );
              I tried different combinations of
              String[] jRes = { "JMSModule@JMSResources" };
              String[] jRes = { "JMSModule/JMSResources" };
              String[] jRes = { "JMSModule\\JMSResources" };
              but nothing seems to work.
              Thank you.

    Hi Sunil,
    Thanks for the reply, it worked.
    Another doubt on the same lines. Now that the jar has been deployed as a library in WLS, when i try to deploy a WAR which refers to this deployed jar library, im unable to. I run into and error stating that the library is inaccessible.
    I have to bounce the server and before doing that, i have to manually copy the library.jar from <WLS_domain>/servers/AdminServer/upload/ directory to <WLS_domain>/lib/ directory, once copied i then try to deploy the WAR, then the deployment goes fine.
    Is there any means that this deployed library jar be made available soon after deployment and also to avoid copying the file.
    Thanks,
    Vijay.

  • Upload from single App to cloud and use on two home computers?

    I currently have adobe illustrator adobe app which I downloaded and receive updates from on one computer.  I would like to upgrade to the full cloud version and use on two computers in my home under the single cloud subscription.  Is this possible? 
    Thank you

    Yes, that's possible.
    Log in to creative.adobe.com and you can upgrade your account to full creative cloud.

  • What is the best app for editing and using powerpoint on my ipad?

    I just downloaded pages but cant seem to open my powerpoints in it. Is there a different app i should be using?

    The apple version is called keynote, its in the apple App Store.

  • Is there a way to set which keychain item is used by default for a site/application?

    This question applies primarily to the keychain in Mavericks, but also the iCloud keychain and its use in iOS.
    There are several sites and services for which I have multiple logins that serve different purposes. Whether it's because they are business/personal accounts, or accounts that pertain to different functions, I have multiple logins for many sites/services I use daily, however, there is usually one primary account for each that I use for most purposes.
    What I would like to be able to do is set which of these logins appears by default. An example scenario might be if I have an "admin" account on a site, and a "dev" account that is used for testing purposes to Q/A the site from the perspective of a user who doesn't have administrative access. Most of my work happens under "admin" but whenever I go to the login page, the "dev" account prepopulates in the login form and I have to start typing admin and select that. It also does this on my iPhone, which is where this issue becomes very cumbersome, because there is no dropdown for me to select which credentials to use to autofill from. It appears to only allow autofill from whatever it sees as the first account to come up, and I can't seem to change that without deleting all the other keychain items that come up ahead of the one that I want. This kind of thing also poses a significant risk of accidents if, say, I have multiple payment methods saved and the one that comes up by default isn't my personal payment method, but a business account that's only meant to be used for business purchases. If that comes up first, if I don't replace it with my personal details, I might accidentally place a personal charge on a business account.
    So I really have 2 questions:
    1) Is there a way to set the priority order of which account populates a form by default from the keychain?
    2) When filling out credentials on iOS, an "autofill" button appears at the top of my keyboard, and I can begin typing in a field and it will show the autocomplete of the username that I am typing, but if I click autofill, it replaces it with the original credentials and not those of whatever I began typing in. If I click on the username it's autocompleting, it just clears the autocomplete. Is there some way to choose which username I'm autocompleting a form with?
    Thanks to anyone who has any ideas about a solution to this, and if there isn't, and if anyone at Apple is listening, in an ideal world, it would be like setting the priority order of known wifi networks, where you can drag your first choice to the top of the list.

    This sounds like the age old problem with keychain & Safari. I don't know of a way to solve it without using something like 1Password.
    The iOS app has it's own built in browser, so it has more control over what gets autofilled. Safari on OS X has an 1Password extension that handles account selection & autofill etc.
    Keychain is great in principle, but it quickly falls down when you need tight integration with many ID's & different use cases (work, home etc).
    I'd suggest you submit feedback to Apple about your thoughts. I did so years ago about this issue & this is how far we have come (back to the point where me.com synced passwords) :^)
    http://apple.com/feedback/macosx.html
    Other tools like lastpass or keypassx may also help if you want to truly segregate password storage, but that doesn't fix autofill, the way around that issue is to dedicate one browser for work.

  • Setting Combobox 'dataProvider' @runtime and using 'labelFunction'

    I have 2 comboboxes which are related i.e. when i change cb-1 i need to display values in cb-2 (cb-2 list varies with the value selected). I have simplified my case but this is what my problem is. After i set 'cb-2.dataProvider' when does 'labelFunction' for cb-2 get called?
    If i am not clear enough please let me know. Here is the code.....
    private function cb-1Change(event:ListEvent):void
    {// This will be a dynamic one using the value selected in cb-1
    cb-2.dataProvider = __model.someList.getItemAt(0).cb-2VOList;  // extracting from a Map kind object
    // This Label function is never getting called
    private function displayCB-2Label(item:Object):String{ 
         // something
    <mx:ComboBox d="cb-1"           dataProvider="{__model.cb-1List}"
              change="cb-1Change(event)"
    />
    <mx:ComboBox d="cb-2"
              labelFunction="displayCB-2Label(event)"
              change="cb-1Change(event)"
    />
              change="cb-1Change(event)"
    />  

    Ryan,
            Thanks for the answer. I think i was not clear on my questions. Let me try it again:
    Requirement:
           When ever user change cb-1 value it should populate a new list and assign to cb-2 dataProvider i.e. cb-2 list should refresh. cb-2 needs to display right label based on its 'labelFunction'.
    cb1 -  List of Strings
    cb2 -  List of VO's in the following format
    ListVO:
           public var code:String;    // This Code is what user selects in cb-1
           public var  listValues:ArrayCollection;  // List of PlainVO's
    PlainVO:
         public var name:String;
         public var value:String;
    Also from your answer how can i call 'cb-2 label function in cb-1 change', i mean cb-2 labelFunction expects current 'ListVO' object...right?

  • Can any app be downloaded and used on the new OS Mountain Lion?

    Can any app from the app store be used on the new Mountain Lion OS?
    Or is only the iMessage, Notes e.c.t...?

    Hi...
    For third party software, it depends on the whether or not the app's developer updates his or her software to meet Mountain Lion's requiremeents.
    Since Mountain Lion won't be released, according to Apple, until this summer, regarding iMessage and Notes, since they are native to the Mac OS X, they should not be a problem.

  • Can iPhone Apps be installed and used in the N900 ...

    I had a quick question. The Apps made for iphone which are available on apple.com. Can that be installed on the N900 and will it run properly ?

    WHY R THE BRITS A NUISANCE THE WORLD OVER  I MEAN AT ONE POINT OF TIME THEY RULED ALMOST THE ENTIRE WORLD AND CREATED NUISANCE WORLDOVER .
    AMONGST THE MOST ROWDIEST FANS ,HOOLIGANS IN ANY WORLDCUP SOCCER MATCH !!
    GOD SAVE ENGLAND AND THE QUEEN !! 

  • HT3702 iv set up an account and used my vista bebt card an its taken my money out an put it in my itunes account and i cant find it

    Iv bought no apps

    If you've added or changed the card details on your account then you've probably had a temporary holding charge applied to the card, which is to check that the card is valid and active - it should disappear off your card within a few days.
    Holding charges : http://support.apple.com/kb/HT3702

  • Set item value from application level item

    Hello,
    I'm using Apex 2.2.1.00.04. I've modified the Page "No Tabs" template so that I can have my own Form (which is submitted to an outside website). On this form, I create some hidden items:
    <form name="frmEPay" method="POST" action="some_website">
    <input type="hidden" id="i1" name="userId" value=&G_ID. />
    <input type="hidden" id="i11" name="timestamp" value="" />
    <input type="hidden" id="i12" name="hash" value="" />
    On this apex page, I have a javascript function which is called in the onload (basically, the ApEx webpage displays and then is redirected). Here's a snippet of that function:
    var appProc = new htmldb_Get(null, html_GetElement('pFlowId').value,'APPLICATION_PROCESS=PrepEPay',0);
    appProc.get();
    appProc = null;
    document.getElementById('i11').value = "&G_ECOM_TIMESTAMP.";
    document.getElementById('i12').value = "&G_HASH.";
    document.frm_infiNET.submit();
    As you can see, the function calls an application level On Demand process (PrepEPay). That process sets the values of the application level items G_ECOM_TIMESTAMP and G_HASH. After those App level items have their values, I want to take those values and apply them to the hidden items on my custom form. Unfortunately, it doesn't work how I have things currently. I've verified that the On Demand process is running(by viewing the Session report on the page). So my problem seems to be this: 1. Retrieving the values from the Apex application level items
    2. Setting those values to the values of my hidden items (on my custom form)
    I think the biggest reason why I'm having difficulties is because I have to do a lot of this in the template, since that is the only way to have a separate Form. Maybe my problem is that I don't understand how to reference the Apex application level item value from a different form?
    Thanks,
    Marty

    Marty,
    You are describing this as if you expect the substitution within "&G_ECOM_TIMESTAMP." and the other one to take place in some kind of lexical order, e.g., from the top to the bottom of the HTML. The replacements happen in the engine, before anything is sent to the page. Then the browser interprets language constructs such as javascript calls which in your case includes an ajax invocation of a server-side application process.
    You need to re-think the machinery here.
    Scott

  • How do I clear application level item of the last value it held?

    See next post - I oopsed the first try.
    Edited by: user3034406 on Jul 28, 2009 1:48 PM

    Using oracle 11g, apex version 3.0.
    Ok, so I am developing a survey with questions and their related answers (either radio group or checkbox depending). I have it set up so that when a user clicks a checkbox, an apex_collection is updated. In the pl/sql of my region source, I left outer join to this collection to display the checkbox as checked when its value is found in the collection. Using this same strategy, I can delete a value from the collection when a user uncheckes a box....
    The problem I am having is this: the very last value that a user checks initially (i.e. takes checkbox from unchecked to checked status) is staying in my application level item :ADD_THIS, so when the page is refreshed or whatever, this value gets added to my collection, which means it shows as checked. Well, I think this is what is happenig...!
    I have tried setting the app level item to null in a computation process, but this screwed everything up and nothing would work right....
    So, if someone knows when, how and where to reset an app level item?
    NOTE: I barely know javascript (getting the hang of simple stuff but I have a long way to go!) and am a little shaky on things like session state, before load, after load, etc., etc, when it comes to apex. Please be patient with me! (smile)
    Here's what's going on script wise:
    PL/SQL in region source of page: builds list of questions and their associated answers
    DECLARE
    #####stuff here####
    CURSOR multiple_answer_cur IS select apex_item.checkbox(1, nvl(a.c001, a.answer_seq),'onclick="f_updateMember(q_seq, a_seq);"', a.c001, null, v_q_seq) cbox, a.answer_text, qa.question_seq, a.answer_seq
    *<etc. etc....>*
    CURSOR single_answer_cur IS select apex_item.radiogroup(radio_global, nvl(a.c001, a.answer_seq),a.c001, null, null, null, 'f_updateMember(q_seq, a_seq)',null, v_q_seq) rgroup, a.answer_text, qa.question_seq, a.answer_seq
    *<etc. etc....>*
    BEGIN
    ####stuff here that builds survey and writes it using HTP. to page####
    END;
    Javascript function to add or delete from collection (in header of page)
    function f_updateMember(q_seq, a_seq){
    --determine if value represents checked or unchecked box
    var isString = /q|a/;
    var getThis = document.getElementById(q_seq).value;
    var findinValue = getThis.search(isString);
    var getaddthis = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=AddCheckboxValue',0);
    var getdelthis = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=DelCheckboxValue',0);
    --onclick, if an 'a' or 'q' is found in value, this box is in the collection and therefore checked, so delete it
    if (findinValue != -1) {
    getdelthis.add('DELETE_THIS', "q"+q_seq+"a"+ a_seq);
    getdelthis.GetAsync(function(){return;});
    getdelthis = null;
    }else{
    --onclick, no 'a' or 'q' is found in value, this box is not in the collection, so add it
    getaddthis.add('ADD_THIS',"q"+q_seq+"a"+ a_seq);
    getaddthis.GetAsync(function(){return;});
    getaddthis = null;
    Snippet of page source
    <b>Question number one</b>
    <input type="checkbox" name="f01" value="q78a489" checked="checked" onclick="f_updateMember(78,
    489)" id="78" />Answer option one for question one>
    <b>Question number two</b>
    <input type="checkbox" name="f01" value="483" onclick="f_updateMember(77, 483)" id="77" />Answer
    option one for question two>
    Edited by: user3034406 on Jul 28, 2009 12:18 PM

Maybe you are looking for