188.8.131.52.4. Entity Modes
Smart forms/ Entities built using ONEWEB platform supports different entity modes to display, save, and validate the content properly. It provides user with options to configure the smart forms differently for different modes. During customization, the entity can be customized for each mode separately based on customer requirements. For example, user can generate buttons with specific actions or specific pop-up messages for different modes.
ONEWEB supports four different entity modes such as Insert, Update, Search and Delete mode.
Insert mode is the data entry mode when the data entered is inserted as a new record in the database. All the configurations required when user open entity to create new data, will be configured using Insert mode.
Update mode is the data entry mode when the entity opens existing data from database for editing purpose. All the configurations required when user open entity to edit will be configured using Update mode.
Search mode is the entity mode for searching records in the database. All the configurations required when user open entity for searching data will be configured using Search mode. In Search mode user can search records on basis of the selected search criteria. And the Search results will be shown accordingly. (Please Note that the Search Criteria setting and Search Result setting are not based on the entity modes, but they depend solely on the SearchCriteria & ShowSearch properties in their respective Field configuration.)
Delete mode is the data entry mode when the data is deleted from the database. All the configurations required when user open entity to delete will be configured using Delete mode.
Features that user can control using different modes are:
- Display/ Hide fields or modules on smart forms by using access controls set based on modes.
- Configure Entity buttons specific to each mode of an Entity.
- Configure Module buttons to show/ hide based on Entity modes.
- Advanced developers can customize an entity to generate requirement specific complex entity Actions for different entity modes.