Friday, September 26, 2025

currentPage Built in variable in VBCS

  • To access some of the current page's metadata, such as ID and title, there is a built-in variable named currentPage on the application object. 
  • The currentPage variable automatically updates as the current page changes during navigation. 
  • This can be used to update a navigation component with the currently selected page.

$flow.currentPage:- The id of the current page for this flow. 

$application.currentPage.id:-The path of the current page. The path describes the location of the page in the flow hierarchy.

$application.currentPage.path:-The path of the current page for the application. The path describes the location of the page in the flow hierarchy.

$application.currentPage.title:- The title of the current page. The title is formed by prepending all the titles of the shells in the flow hierarchy to the current page.

No comments:

Post a Comment

Query to get the list of contexts for each formula type in Oracle Fusion HCM

select t.base_formula_type_name ,      ttl.formula_type_name ,      ttl.description ,      c.base_context_name from   ff_formula_types_b t ,...