ebs.generateList

Displays a predefined view for a given entity. The view includes action handler buttons (Advanced Find, Export, Delete, Insert) that allow you to interact with the listed entity records.

Also see ebs.generateForm, ebs.generateInsert, ebs.generateEdit.

Syntax

Copy
function ebs.generateList(mainHtmlId: string, entityName: string, viewName: string, pageContext?: any): Promise<void>;
 
Parameter Type Description
mainHtmlId string ID of the parent HTML element where the list will be injected.
entityName string Name of the entity whose records will be listed.
viewName string Name of the predefined entity view.
pageContext (optional) any Allows you to provide a specific page context for the opened view.

Response

Returns a void promise object, allowing you to associate handlers in case of success or failure.

Examples