ftos.context.response.setNavigationURL
IMPORTANT!
Starting with v24.3.0, this is renamed from setNavigationUrl to ftos.context.response.setNavigationURL.
Starting with v24.3.0, this is renamed from setNavigationUrl to ftos.context.response.setNavigationURL.
Opens a specific page after the transaction completes. If another workflow is triggered when the transaction completes, it will run immediately after the page opens.
This is a routes method for business service components.
Syntax
function ftos.context.response.setNavigationURL(url: string): void
| Parameter | Description |
|---|---|
url
|
Path to the page you wish to open relative to the server's URL. |
Examples
In this example, we open the list of Customers.
setNavigationURL('Main#/entity/Customers/list');
In this example, we open the record with the e6336d49-3571-42dd-9228-4bc1e599bd95 ID of the Customers entity in its edit form.
setNavigationURL('Main#/entity/Customers/edit/e6336d49-3571-42dd-9228-4bc1e599bd95');