Context
The Context methods allow data manipulation in a specific context.
| Method | Description |
|---|---|
| ebs.auth.logout | Logs out the user. |
| context.on | Attaches a handler to an event. |
| context.decorateRow | Displays the view lines with different background based on a specific value of an attribute from the child entity. |
| context.goToSection | Navigates to the specified section. |
| context.makeOptionSetRadioGroup | Renders the edit control for an Optionset attribute as a Radio Group in a view. |
| context.navigateUrl | Sets the URL to navigate to after save. |
| context.stopNextNavigation | Prevents the navigation to the next section after save. |
| context.errorMsg | Returns the error message generated when a file upload fails. |
| context.showErrorMessage | Displays on screen the error message generated when a file upload fails. |
| ebs.setJourneyContext | Sets a context name for the digital journey. |
| ebs.getJourneyContext | Retrieves the name of the digital journey context. |
| ebs.cleanJourneyContext | Clears the digital journey context from the session storage. |
| ebs.getBaseUrl | Returns the Ebs Core base URL. |
| ebs.getFormData | Returns current form related data. |
| ebs.getCurrentEntityId | Returns the ID of the current entity. |
| ebs.getFormEntity | Retrieves the current record's attributes from a displayed form. |
| ebs.getUsersOnline | Retrieves the users that are currently logged. |
| ebs.getCurrentUserSessionsHistory | Retrieves all successful or unsuccessful login information for the current user. |
| ebs.getDeleteConfirmationOptions | Customizes the delete confirmation dialog for view records. |
| ebs.getEditNavigationUrl | Returns the edit navigation URL of an entity. |
| ebs.getCurrentEntityData | Returns data of the current entity. |
| ebs.getFormMode | Returns the current form mode. |
| ebs.getInsertChildNavigationUrl | Returns the insert child navigation URL. |
| ebs.getInsertNavigationUrl | Returns an insert form hash for a given entity. |
| ebs.getListNavigationUrl | Returns the navigation URL of the specified entity view/list. |
| ebs.goToUrl | Navigates to the specified URL. |
| ebs.createWizardObject | Design the way the steps of a digital journey will be displayed |
| ebs.isFormEdit | Returns "true" if the current form is in Edit mode and "false" otherwise. |
| ebs.isFormInsert | Returns "true" if the current form is in Insert mode and "false" otherwise. |
| ebs.isFtosNative | Returns True if the user agent is "FtosNative" and False otherwise. |
| ebs.reload | Reloads the current page. |
| presenter | Exposes functions defined in the Presenter component as callable methods within the UI Logic context. |
| uiLogic | Exposes functions defined in the UI Logic component as callable methods within the UI Logic context. |
| ebs.changeCulture | Changes the localization of the user interface. |