EbsRouter.parseUrl

(FintechOS Studio 20.1.3 and later)

Extracts the state of a page from a legacy URL.

This function allows you to retrieve the identification information for a page in Single Page Application mode (see EbsRouter for details) based on its legacy (multi-page application) URL.

Syntax

Copy
parseUrl(url: string): 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