Extra tables require the CRM Suite Growth plan or higher, or a user-plan based license with Development Tools.With a user-plan based license, extra tables are available in SuperOffice Service, and in SuperOffice CRM through web panels. To use them as custom objects in SuperOffice CRM, join the custom objects pilot program.
Naming conventions
Use logical names, so it is easy to see what the database contains. The y_ prefix prevents conflicts with future SuperOffice table names. It does not prevent conflicts between extra tables from different third parties.- Must start with y_
- May contain only underscores, the letters a to z, and numbers
Steps
- Go to Settings and maintenance > System design. Then select the Tables tab.
-
Click New table.
-
In the Table properties screen, configure the new table.
- Enter a name to be used as the label.
- Enter a description that explains what the table is for, so other administrators understand it.
- Enter a database table beginning with y_ to identify it in the schema.
- To let users find the custom object, choose an icon and opt to show the table in the Navigator and Find.
- Optionally set other properties.
Some table properties cannot be set until you have added fields. -
Click OK to save the new table (runs
create table y_mynewtable ...). - Add fields to your new table.
-
Select the table name in the list to reopen the Table properties screen. Now that the table has fields, you can use them instead of the ID:
- In Sort order, choose the field to sort the entries on.
- In Display field, choose the field that identifies an entry when the table is shown in another table.
- Click Restart NetServer. If Travel is activated, you will also see a message that a new Travel database must be generated.
- If the table is a custom object, give roles access to it.
Table properties
Choose an icon
The icon is shown in the Navigator, the custom objects list, context menus, the webhook event list, and the Screen Designer.- Open the table properties and click Select icon.
-
In the dialog, choose an icon:
- Default icons: a set of common icons.
- Full icon library: search the full library, or browse by category.
- Custom icons: upload your own SVG file, up to 50 KB.
- Click Apply icon.
Show the table in the Navigator and Find
The table can be listed in the Navigator and under New in the top bar. To enable this, select Show in navigator in the table properties. To let users search for custom objects in Find, also select Show table in Find.
Give roles access
Users can see and work with a custom object only if their role gives them access. After you create the table and add its fields, set the permission for each role that should use it.- Select Roles in the Navigator.
- Select a role from the list.
- Go to the Custom objects rights tab.
- In the Permission list next to the custom object, choose what users with this role can do: Read, Create, Update, or Delete.