Ticker

6/recent/ticker-posts

Difference Between Application Page Item Vs. Global Page Item Vs. Normal Page Item

Difference Between Application Page Item Vs. Global Page Item Vs. Normal Page Item

Hello Friends,

Today I will tell you the most important question which asked many in the Interview.

Difference Between Application Page Item Vs. Global Page Item Vs. Normal Page Item.

Application Item:  

  1. Application items are not associated with a page and therefore have no user interface properties.
  2. You can create a global variable by creating an application-level item with the same name across all applications and setting the scope to Global.
  3. For Security, Session State Protection, select Restricted.
  4. You can create an application item from Shared Components > Application Items.
  5. There is no option to modify attributes like a global page or a normal page.
  6. We can't get application Item value using JavaScript directly.
How to get application item value on page: 
Example:- Suppose you have created an Application Item 'APP_ID' :

&APP_ID.
:APP_ID

Global or Zero Page Item:

  1. A Global Page Items is part of an HTML form.
  2. Global Page Items can be a text field, text area, password, select list, checkbox, and so on. Item attributes affect the display of items on a page.
  3. Global Page Items are Placed on every Pages.
  4. We can get the value of the Global Page Item using JavaScript.
How to get a global page item value on page:

Example:- Suppose you have created a global page item 'P0_PAGE_ID' :

To get the global item Value '&P0_PAGE_ID'.

 Page Item :

  1.  Page item is also part of an HTML form. 
  2.  Page items can be a text field, text area, password, select list, checkbox, and so on. Item attributes affect the display of items on a page.
  3. Page Items are Placed on Single Page.
  4. Users can not use page item as global Variable or It can't render all over the Application like Global Page Item.
  5. We can also get the value of Page Item using JavaScript.


Please comment below if any difference is missing or suggestion then we will add your comment in our blog.

Post a Comment

0 Comments