EbsRouter.getState

(FintechOS Studio 20.1.3 and later)

Retrieves the identification information of the currently displayed page.

This function works when the FintechOS Portal is in Single Page Application mode (see EbsRouter for details).

Syntax

Copy
EbsRouter.getState(): IRouterState

Return Value

Returns an IRouterState JSON object containing a routeData property with details about the page, for instance:

Copy
{routeData: {
    entityName: "dataConfigDeploymentPackage"​​
    formName: "default"​​
    menuItemContext: "b32a8a61-86ef-4fd7-b5b2-a7a173824b8c"​​
    type: "insert"
}}
HINT  
This object can be used as input for the state parameter in functions such as EbsRouter.callRoute, , or EbsRouter.continueRoute.

Type Aliases

Examples