ebs.getEditNavigationUrl
Returns the edit navigation URL.
HINT You can navigate to the page using ebs.goToUrl.
Syntax
Copy
ebs.getEditNavigationUrl(entityName: string, id: string, returnHash: string, formName: string, pageNo: number): string
| Parameter | Description |
|---|---|
entityName
|
The name of the current entity. |
id
|
The ID of the record. |
returnHash
|
This parameter is obsolete. Send is as "null". |
formName
|
The name of the edit form. |
|
|
The number of the current step. |
Response
A string with the URL of the requested edit page.
Examples
In this example:
- The entity is "account".
- The entity form ID is "d19ec791-054d-419d-9e6a-3421947cfd83".
- The other parameters of the request are "null".
Request
Copy
ebs.getEditNavigationUrl("account","d19ec791-054d-419d-9e6a-3421947cfd83",null,null,null);
Response
Copy
"#/entity/account/edit/d19ec791-054d-419d-9e6a-3421947cfd83"
In this example:
- The entity is "account".
- The entity form ID is "d19ec791-054d-419d-9e6a-3421947cfd83".
- The page number is "1".
- The other parameters of the request are "null".
Request
Copy
ebs.getEditNavigationUrl("account","d19ec791-054d-419d-9e6a-3421947cfd83",null,null,1)
Response
Copy
"#/entity/account/edit/d19ec791-054d-419d-9e6a-3421947cfd83/pageno/1"