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

currentAppUi built in variable in VBCS

$global.currentAppUi.id :- The id of the App UI $global.currentAppUi.urlId :-The id of the App UI as shown in the URL $global.currentAppUi.d...