ebs.generateEdit

Displays a predefined form or form driven flow that allows you to edit a specific entity record.

The displayed form or form driven flow has dedicated action handler buttons that allow you to save the record independently from the parent page.

Also see ebs.generateForm, ebs.generateInsert, ebs.generateList.

Syntax

Copy
function ebs.generateEdit(mainHtmlId: any, entityName: any, id: any, returnHash: any, newform: any, pageNo: any): void;
 
Property Type Description
mainHtmlId string ID of the parent HTML element where the form or form driven flow will be injected.
entityName string Name of the entity where the record will be edited.
id string ID of the record you wish to edit.
returnHash(optional) string Legacy feature. No longer used.
newForm(optional) string Name of the form or form driven flow. If left empty, the default edit form or form driven flow associated with the entity is used.
pageNo(optional) number If the form or form driven flow has multiple sections, you can specify if you want it to open on a specific page. If left empty, the first page will be displayed.

Examples