How to assign the value to the application-level element

Hello

I'm learning to APEX.  I use version 4.2.6.

My question is, I set a text field called 'FINANCIAL_YEAR' in the login page.  I wanted to know how to assign this value to a text element of Application level (on page sent), so that I can get this value through at my request.

Thank you

-Anand

anand_gp wrote:

Yes, I created a 'text area' under 'HTML' in the 'Home' page  Who accepts the exercise of a table through LOV.  I intend to assign this value to a global variable so that this variable can be read in any of the application to filter the result set from different tables (not yet built the rest of the application).  To do this, I was intending to use "Shared components"-> "Elements of Application".  I'm still not quite sure how it works.

Start by reading the documentation on elements of application.

Go to the shared components > Application parts and create your G_FINANCIAL_YEAR item. Value Session State Protection Restricted - can not be set the browser so that the value is not editable by the user, falsification of URLS or scripts.

On the home page, if there is not already a button to submit the value of the fiscal year, add one in the HTML area, with the Action as a submit Pageclick. Otherwise, you can do without the button and using submit Page in Page Action when the changed value select the parameter in the list so he can undergo.

Then, in the section of the Page processing, create a calculation:

Point Type: Application-level element

Calculate Item: Application: G_FINANCIAL_YEAR

Point calculation: After submit

Type of calculation: Value of the element

Calculation:

Run the application, select a value in the list of the fiscal year and submit the page. Review of current session state in the viewer of session state by clicking on the link of Session in the toolbar developer. Select the Elements of Application in the view list, and then click set. The element of your application and its current value must be visible. You can now reference value throughout your application by using the appropriate syntax.

You should also consider if a default value (for example the current year) using a calculation Application from the point of calculation on the new Instance and coordinate the application point and part of the homepage using point application as the Source of value or an expression with Source page element, the value always, replacement of value that exists in the session state.

Tags: Database

Similar Questions

  • How to assign the next value in the sequence directly in a variable?

    How to assign the next value in the sequence directly in a variable without using a table TWICE in PL/SQL.

    BluShadow wrote:

    How about a quick test on 11g, just to see if you directly select a sequence in a variable is significantly better than the mark of DOUBLE.

    ...

    Nope... no obvious difference.

    This is because there is none: Oracle's SELECT sequence. NEXTVAL FROM DUAL under the covers. The direct assignment is just a convenient encoding for us, but it does not change the work that accomplishes Oracle.

    create sequence s;
    alter system flush shared_pool;
    declare
    l_num number;
    begin
    l_num := s.nextval;
    end;
    /
    select sql_text from v$sql where parsing_schema_name = user;
    
    SQL_TEXT
    Report the number of l_num; begin l_num: = s.nextval; end;
    Select sql_text from v$ sql where parsing_schema_name = user
    Select double S.NEXTVAL
  • How to assign a value of the element from page to main page in the column element when Cre

    I have a form build on table T1. The T1 has a primary key defined (T1PK) and four other columns (C1 - C4). I have a form in this table. This form accepts the values of C1 to C4 and displayis an extra point, is not based on columns of T1 - P1_DUMMY. The form for T1PK element has the value "hidden and protected.
    When creating the form, I wanted that the value of the primary key (T1PK) will be obtained through existing trigger. I want to use the value stored in the page called "P1_DUMMY" for P1_T1PK.

    No matter what I do, I always get this error when I hit the button 'CREATE' on the page of the form:

    ORA-01400: cannot insert NULL into ('DEV'. "" T1 ". ("' T1PK")

    The Create button is a condition not to show if the the P1_T1PK page element is NULL. I created page rendering process, the process of transformation of page like this bock of PL/SQL:

    : P1_T1PK: =: P1_DUMMY

    But I still get ORA-01400. The form has the P1_DUMMY as display only, not not to store the State, so I can see that the P1_DUMMY element has the value I want (2).

    How to assign the value stored in P1_DUMMY in P1_T1PK when I click on the button CREATE on this form?

    Thank you for your time.

    Daniel

    Hello
    The belief question is the way in which the calculation is being defined. You are not using the &. rating (dot ampersand) in PL/SQL and SQL.

    Try this.

    1 define the calculation on P1_T1PK of Type calculation of value of the element
    2. on the next page to load textarea, enter P1_DUMMY. No. colon or &
    3. give appropriate conditions

    Kind regards

  • How to view the application menu in the app?

    Hi all

    Does anyone know how to view the application menu in the app?
    The ultimate effect is that when you see the user swipe down from the top of the screen, the menu of the application.

    Thank you very much.

    Please check the recent threads or duplicate search before posting questions: http://supportforums.blackberry.com/t5/Cascades-Development/Application-Menus/td-p/1785653

  • How to hide the application programmatically?

    Hello

    How to hide the application by programtically?

    Thank you.

    Just to clarify this point, here's what you need to do to use the lines that I gave you:

    In the fieldChanged for the button method, you must run the lines that I showed you.

    This will put your UiApplication in the background.  The user will be able to bring to the forefront again by pressing the icon or choosing the form of application for the selector of the task.

    The user can in fact do roughly the same thing by pressing menu and selecting ' Application Switch, if it appears in the menu.  And that's roughly the same by pressing the menu key and then selecting another application in the selector of the task.

    If this isn't what you want, then please describe what you want again and why it's different from this.

  • How to install the application in the folder "Applications" on Storm (Bold).

    Hi guys.

    I'm looking for how to install the application in the Applications folder on the storm.

    Google map is installed in the folder "Applications" when installing it from the web.

    I would like to know how to do it.

    Please share the knowledge.

    Thanks in advance.

    Take a look at this thread.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=31323&query.ID=68...

    Concerning

    Bika

  • I downloaded Photpshop elements 13: how to open the application?

    I downloaded Photpshop elements 13: how to open the application?

    for windows, you have downloaded an exe and a 7z file. put them both in the same directory, then click on the exe file.

  • How to assign the temporary tablespace to a table

    How to assign the temporary tablespace to a table

    temporary tablespace can be attributed to the user.

  • How to change the size of the police at the Application level

    It is necessary to change the font size to the application level to facilitate readability. Is there an easy way to accomplish this requirement in the APEX 3.0?

    Please notify.

    Thank you.

    ~ Phyllis

    Ah, good so the police don't have to change the size on request?
    You want to just increase the size of the font of a form or a report?

    If you just want to increase the font size of everything, you can add this to your Page header...

    
    

    If you just want to change the font size of something in particular, you will need to get the CSS it refers to (use Firebug in Firefox).

    For example, to replace certain headers and data in the model 15...

    
    

    I hope this helps.

    -Chris

  • Text Anti-Aliasing at the Application level

    Does anyone know how to control the anti-aliasing of text to the application level? I don't want to go through each component and override the method object to set indicators to report on each of them. Anyone know of a more elegant way to do this in the code?

    Thank you.

    831503 wrote:
    Thank you, Andrew Thompson

    You and Kleopatra (Pharaoh of the Swing) are welcome. Happy, that I could help him. :-)

  • Qosmio X 870 - 13p - how to restore the original key elements?

    Use the volume buttons + /-on the keyboard, I just had to push for example to increase the volume of your PC or put a song on a break. Now it does not work, I have to press the "Fn key" to use these keys.

    If anyone has an idea how to restore the original key elements?

    There are two options for the mode of function keys:
    -special function mode (you don't need to press the FN key n)
    -standard mode of F1 - F12

    Please check which option is set to your laptop.
    You can find it when you open the office assist > system settings > keyboard.

    Check and if necessary change the special function mode.

  • What level of security is the best in the OSI model, which is the application level?

    Hello

    I'm curious to know what level of the model OSI protects best against pirates, which is the application level?

    Thank you

    Johan

    Hello Johan,.

    The OSI networking reference model (ISO 7498 - 1) is designed around seven layers arranged in a stack.

    The OSI security reference model architecture (ISO 7498-2) is also designed around seven layers, reflecting a high level of different requirements in the security of the network.

    In the OSI model, each layer has its own functionality and according to which it has features of different security as shown below.

    Application - authentication

    Presentation - access control

    Session - non-repudiation

    Transport - the integrity of the data

    Network - Privacy

    Data binding - insurance / availability

    Physics - certification / Signature

  • How to show the ink levels on the computer for Officejet 6600

    How to show the ink levels on the computer for Officejet 6600

    What is the full product name or product number?

    is your printer?

    This is the Manual of your printer the following image was derived.

    You can use the printer's built-in web server to get the status of the printer information from a browser.

  • How to get the battery level and status in the cpp file?

    Hi all

    BatteryInfo class so I can I know how to get the battery level and the State in .cpp class?

    Hi Benecore,

    I have Add method below,

    #include

    But I only variable BatteryInfoPrivate not get variable BatteryInfo. You can also check on your side.

    So let me know how to get batteryInfo instance?

  • How to count the number of elements in a data block

    Hi all
    How to count the number of elements in a particular data block oracle Forms 10g.
    If it's a text_item or the display_item or the list_item etc is there any method to do this.

    Please answer...

    get the first element with GET_BLCOK_PROPERTY(..., FIRST_ITEM);
    loop until GET_ITEM_PROPERTY(..., NEXTITEM) is null
    count on in the loop.

Maybe you are looking for