Schema plugins enable you to extend Wix entities with custom fields. Wix business solutions incorporate these entities into their dashboard tables, such as eCommerce Orders in the Orders table or Bookings in the Bookings List table.
This article explains how to make sure your custom schema plugin fields can be seen by Wix users in the dashboard pages of supported Wix business solutions.
To display your schema plugin field in dashboard tables, it must use one of the following data types:
boolean
string
number
integer
Schema plugin fields of other types, such as array
and object
, won't be visible in the table.
For Wix users to see your fields, you must assign read
permissions for users
in your schema definition.
For example:
"age": {
"x-wix-permissions": {
"read": ["apps", "users", "users-of-users"],
"write": ["users", "users-of-users"]
},
"description": "Age in years which must be equal to or greater than zero.",
"title": "Age",
"minimum": 0,
"type": "integer"
}
Learn more about defining field permissions.
To test that Wix users can see your field in the relevant Wix business solutions tables: