About Data Collections Extensions

This feature is in Developer Preview and is subject to change.

The data collections extension allows your app to automatically create CMS data collections when it's installed on a site. You configure the collection schemas and optional initial data in a JSON configuration file. When a Wix user installs your app, the collections are automatically created in the site's CMS with the schemas and data you specified.

For the complete JSON schema and field definitions, see the Data Collections Extension JSON Reference.

Before you begin

It's important to note the following before using the data collections extension:

  • This extension automatically enables the site's code editor, which is required for the Wix Data APIs to work. This means your app can use Data APIs to read and write data in the collections without requiring the Wix user to manually enable the code editor.
  • Without this extension, apps using Data APIs would need the Wix user to manually enable the code editor on their site, which isn't guaranteed. With the data collections extension, your app can reliably use Data APIs to read and write data in the collections.

When to use the extension

Use the data collections extension when your app needs to store data on a site for any reason. This includes:

  • App-specific data storage: Store member preferences, app settings, cached data, or any other data your app needs to persist on the site.
  • Content management: Pre-populate collections with templates, sample content, or starter data that helps Wix users get started with your app.
  • Analytics and tracking: Store analytics data, events, or visitor activity logs that your app collects and manages.
  • User-generated content: Create collections for visitor submissions, reviews, or custom content that your app helps Wix users manage.

Implementation options

You can add and configure a data collections extension in the app dashboard.

See also

Did this help?