Data
The Data methods allow data manipulation operations such as updates, inserts, deletes, or queries.
| Method | Description |
|---|---|
| formData.id | Returns the ID of the record currently displayed on the form. |
| formData.entityName | Returns the name of the form's source entity. |
| formData.mode | Returns the mode of the current form (insert or edit). |
| formData.hasChanges | Indicates if the form has unsaved changes. |
| formData.name | Returns the ID of the form's HTML element. |
| formData.pageNo | Indicates the last step in the form where data was saved. |
| formData.setAdditionalValue | Defines an object that can be accessed in subsequent form steps. |
| formData.getAdditionalValue | Reads an object that was defined in a preceding form step using formData.setAdditionalValue. |
| formData.model | Provides read/write access to the current record's attributes. |
| formData.refreshBusinessStatus | Refreshes the current record's business status. |
| formData.refreshForm | Refreshes the current form. |
| formScope | Object shared between different JavaScript attributes of an entity form, used for storing user defined variables and functions. |
| ebs.getByID | Returns detailed information about a specific record based on its ID and parent entity. |
| ebs.getByIdAsync | Asynchronously returns detailed information about a specific record based on its ID and the entity name. |
| ebs.getByQuery | Returns detailed information about all records that meet the specified selection criteria. |
| ebs.getByQueryAsync | Asynchronously returns detailed information about all records that meet the specified selection criteria. |
| ebs.updateEbs (Deprecated) | Updates attribute values for a specific record. |
| ebs.updateAsync (Deprecated) | Asynchronously updates attribute values for a specific record. |
| ebs.massUpdate | Updates attribute values for multiple records. |
| ebs.insertEbs (Deprecated) | Adds a new record to an entity. |
| ebs.insertAsync (Deprecated) | Asynchronously adds a new record to an entity. |
| ebs.massInsert | Inserts multiple records to one or more entities. |
| ebs.deleteEbs (Deprecated) | Deletes specific records from an entity based on their IDs. |
| ebs.importClientScript | Imports a custom function defined within a client script library. |
| ebs.getFormAttributeValue | Returns the value of an attribute. |
| ebs.rendering.registerVirtualRelatedAttribute | Registers and relates a virtual attribute to a real one |
| ebs.setFormAttributeValue | Sets the value of an attribute on an entity form. |
| ebs.addFormChangeEvent | Adds an event that triggers if the value of an attribute has been changed |
| ebs.getFormAttributeRequired | Returns the required level of an attribute. |
| ebs.setFormAttributeRequired | Sets the required level of an attribute. |
| ebs.setFormAttributeReadonly | Sets the read-only property of an attribute. |
| ebs.setFormAttributesReadonly | Sets the read-only property of all attributes on the specified form. |
| ebs.setFormSectionAttributesReadonly | Changes the read-only property of all attributes on the active form section. |
| ebs.getGridFetch | Returns fetch for a grid |
| ebs.refreshGrid | Refreshes grid data based on the specified relationship name. |
| ebs.getLookupTextValue | Returns lookup text value. |
| ebs.getLookupFetch | Changes the lookup fetch. |
| ebs.removeFormEditButton | Removes the edit button for all lookup or option set fields from a form |
| ebs.importStyleSheet | Creates a <style> element and appends it to the <head> of the HTML document. |
| ebs.removeStyleSheet | Removes the specified <style> element created by ebs.importStyleSheet. |
| ebs.removeAllImportedStyleSheets | Removes all <style> elements created by ebs.importStyleSheet. |