16.5 Managing Application Items
Application items do not display, but are used to maintain session state.
Application items can be set using computations, processes, or by passing values on a URL. Use On New Instance computations to set the value of items once for a session. Use application items to maintain session state that is not displayed and is not specific to any one page.
- Creating an Application Item
Create a application item on the shared Shared Components page. - Editing Application Item Attributes
Once you create an application item, you can edit it on the Create/Edit Application Item page. - Copying or Subscribing to Application Items
Copy application items from the current application or from another applications. When copying an application item from another app, you can also subscribe to it. - Subscribing to an Application Item
Subscribe to an application item on the Application Item, Create / Edit page. - Accessing Application Item Reports
View the application item Utilization and History reports by clicking the appropriate tab on the Application Items page. - About Creating an Application Item that Functions as a Global Variable
You can create a global variable by creating an application item with the same name across all applications and setting the scope to Global.
Parent topic: Managing Shared Components
16.5.1 Creating an Application Item
Create a application item on the shared Shared Components page.
To create an application item:
Parent topic: Managing Application Items
16.5.2 Editing Application Item Attributes
Once you create an application item, you can edit it on the Create/Edit Application Item page.
To edit application item attributes:
16.5.3 Copying or Subscribing to Application Items
Copy application items from the current application or from another applications. When copying an application item from another app, you can also subscribe to it.
Tip:
Subscriptions enable developers to reuse shared components across several applications in a workspace. To learn more about subscriptions, see Using Shared Component Subscriptions.Note:
When copying an application item from another app, shared component dependencies are automatically resolved. To learn more, see About Automatic Dependency Resolution.To copy or subscribe to an application item:
- Navigate to the Application Items page:
- To copy an Application Item within the current application:
- To copy an application item from another application:
See Also:
Using Shared Component SubscriptionsParent topic: Managing Application Items
16.5.4 Subscribing to an Application Item
Subscribe to an application item on the Application Item, Create / Edit page.
Subscriptions enable developers to reuse shared components across several applications in a workspace. To learn more about shared component subscriptions, see Using Shared Component Subscriptions.
Tip:
You can also subscribe to an application item by copying it and then subscribing. See Copying or Subscribing to Application Items.To subscribe to an application item:
Parent topic: Managing Application Items
16.5.5 Accessing Application Item Reports
View the application item Utilization and History reports by clicking the appropriate tab on the Application Items page.
To view the application item reports:
Parent topic: Managing Application Items
16.5.6 About Creating an Application Item that Functions as a Global Variable
You can create a global variable by creating an application item with the same name across all applications and setting the scope to Global.
Large applications are often separated into several physical applications that reside in the same workspace. These applications often share session state by configuring the same cookie name in each application.
Another requirement of this type of architecture is the need to share a few global variables. While the number global variables should be kept small, global variables function as an effective means to facilitate communicate between the applications. For example:
- Properties of the current user (such as email address, employee number, and so on).
- Current company in a multitenant application.
To create an application item that functions as a global variable:
- Create an application item with the same name in each application to share session state.
- For Scope, select Global.
- For Security, Session State Protection, select Restricted.
See Also:
Parent topic: Managing Application Items