What's new: Soopio Introduces Custom Forms ➡️.
Object types
Managing Object Types in Soopio
In Soopio, data is represented as objects. These objects are categorized into four types: implemented entities, enumerations, checklists, and system entities. This guide will help you understand how these types work and how they can be managed.
Object Types
Object types in Soopio can be differentiated into four categories:
- Implemented Entities: These are defined at the implementation level. In a clean tenant of Soopio platform, there are none, and it’s up to each implementer to define the data model accordingly.
- Enumerations: These are subtypes of digital object type. They behave in a specific way in certain situations and provide a very intelligent and convenient way to make up selection data types.
- Checklists: Like enumerations, checklists serve as a sort of container of items. But unlike enumerations, these items can then be checked or unchecked.
- System Entities: These include object types which are hard-wired into the platform to function properly. No new system types can be created, and none can be edited. However, it is possible to assign custom properties and custom actions to the system entities, and define custom tabs to them.
Take-away point
Note that in Soopio platform, selection properties are best implemented through the enumeration data type. We will dive further in the properties documentation.
Managing Object Types
To manage object types, go to the Implementation section of the platform and then head to Types area. There you can find tabs with Implemented entities Enumerations, Checklist and System entities, and by clicking on each you can show a list of relevant data. You can add a new entity apart from the system entity by clicking on a button in the top right corner of each list.
When adding a new entity, you can specify the following:
- Object type
- System name (used in automations, canvases and shortcodes)
- Name
- Plural name
- Respective icon
- Parent module
- Description
- Whether the type is cached or not
- Whether the type is subject to access control or not
- Whether the type is active
- Which form variant will be used for adding and editing objects of the type
- Which layout file will be used for rendering the objects of the type
Then you can specify whether the properties should be displayed as a simple list, custom list, groups on one page or groups rendered as tabs, whether the object type support comments or not, and then you can specify custom canvas for every individual activity that can happen to objects of the type like adding, editing, deleting, showing and handling the situation where the object is not found.
To edit any object type, just click it to show details and then under the Actions dropdown select Edit. In case of Enumerations and Checklists if you open the object type, it will implicitly display a list of entries. There you can simply drag the items around to save their new order. If you want to edit any of the items, then just click it and again under the Actions dropdown menu select Edit.