16.2.3 Referencing the App Item Value

Reference an application item from any page or part of your app during the user session.

Reference the value of an application item like G_APP_USER_EMPNO anywhere you need it. Depending on the context, use :G_APP_USER_EMPNO, &G_APP_USER_EMPNO., or just the item name if declaratively specifying the name of an item whose value to use.

For example, the Add Break Room Photo page shown below configures the default value of its hidden P6_EMPNO page item to come from the G_APP_USER_EMPNO application item. This ensures the photo is correctly attributed to the employee who submits it using this page.

Figure 16-8 Using an Application Item to Default the Posting Employee ID