ftos.context.response.setNavigationEdit
IMPORTANT!
Starting with v24.3.0, this is renamed from setNavigationEdit to ftos.context.response.setNavigationEdit.
Starting with v24.3.0, this is renamed from setNavigationEdit to ftos.context.response.setNavigationEdit.
Opens a record edit form after the transaction completes. If another workflow is triggered when the transaction completes, it will run immediately after the record edit form opens.
This is a routes method for business service components.
Syntax
function ftos.context.response.setNavigationEdit(entityName: string, recordID: string, formName:string, [pageNo: string]): void
| Parameter | Description |
|---|---|
entityName
|
Name of the parent entity of the record you wish to edit. |
recordId
|
ID of the record you wish to edit. |
formName
|
Name of the entity's form you wish to use to edit the record. |
pageNo
|
Optional. Enter a page number if you wish to open the edit form at a specific page. |
Examples
In this example, we want to edit the customer with record ID e796bdd6-efe6-43e6-b76a-6842d3197735 by using the default form of the Customers entity.
ftos.context.response.setNavigationEdit('Customers', 'e796bdd6-efe6-43e6-b76a-6842d3197735', 'default');