top of page

Studio, Partners & Enterprise

Enterprise Solution

Enterprise Solution: Sharing CMS Collections with Sites and Templates


Coordinate content across multiple sites and templates and manage data effortlessly with shared CMS (Content Management System) collections. With shared collections, your enterprise gains a cohesive experience, streamlined data handling, and an elevated digital presence.


For example, picture your enterprise collaborating with numerous partners, each showcasing your products on their websites. Converting your catalog into a shared collection lets you connect elements across these sites to the same collection. This ensures that updates you make as the CMS manager instantly affect all these websites, guaranteeing consistent, current content that reinforces your brand's credibility.


Another example use case is to visualize your enterprise's lineup of marketing pages, each featuring lead generation forms. Embracing shared collections consolidates data from various sites into a central hub. This empowers you to efficiently manage and analyze leads, optimizing your marketing strategy. The payoff is a focused and impactful outreach, fueling your enterprise's expansion.


Dive in to revolutionize content management across your enterprise sites and templates.


A screenshot of shared collections in an Enterprise account.

Learn more about Wix Studio for enterprise or contact our sales team.



Sharing CMS collections with other sites or templates


CMS collections in the Wix Studio enterprise solution are managed at the account level and are not tied to any single site. Account owners, Co-owners, and teammates with enterprise dashboard permissions for "Manage Organization CMS" can share these collections to make them available across multiple sites or templates.


On the destination sites, shared collections are read-only. This means site or template designers can bind the data to elements like repeaters and dynamic pages to display it, but they cannot edit the collection or add new items.


When sharing, you can choose to only share certain collection items across the other sites or templates.


To share a CMS collection with another site or template:


  1. Go to CMS in your enterprise dashboard.

  2. Click the collection you want to share.

  3. Click Share With Sites at the top.

  4. Click Sites or Templates at the top to choose which type to share the collection with.

  5. Enable the Share collection toggle next to the relevant site or template.

  6. (If necessary) Click Share in the popup message.

  7. (Optional) Click the All items shared drop-down next to the toggle to deselect any items you do not want to share, then click Close.

  8. (Optional) Repeat steps 5-8 to share with more sites or templates.

  9. Click Done.


A screenshot of sharing a collection with multiple templates.


Working with Wix App Collections in Your Code


You reference the collections that Wix Apps add to your site similar to how you reference collections you create yourself, with one difference.


To reference a collection in your code that you created yourself, you just use the collection name in the code. For example, this code retrieves an item with an ID of 00001 from the collection named myCollection:


wixData.get("myCollection", "00001");

To reference a collection that a Wix App added to your site you need to also include the App name in the path of the collection name. For example, let's say you also want to retrieve an item with an ID of 00001, but this time from the PrivateMembersData collection inside the Members database.


Screenshot of Wix App Collections in the Editor

In this case, you need to include Members in the path for the collection name, like this:


wixData.get("Members/PrivateMembersData", "00001");

You can also use Wix Data to add and update information in some Wix App collections. For example:


let collectionToInsert = {
  title: "New Collection",
};

wixData.insert("Portfolio/Collections", collectionToInsert).then((item) => {
  console.log(item);
});


FAQs


Click below for answers to frequently asked questions about shared collections.


In your Wix Studio for enterprise account, the Organization CMS Manager role replaces the Admin role used in other account types. Only the Organization CMS Manager can manage permissions for each collection in the Enterprise dashboard.

To set permissions and privacy for a collection:

  1. Go to CMS in your enterprise dashboard.

  2. Click the More Actions icon

    Enterprise Solution: Sharing CMS Collections with Sites and Templates

    on the relevant collection.

  3. Select Permissions & privacy.

  4. Choose which permissions you want the collection to have:

    • Show content: Allow everyone or only site members to view the collection content on your live site. Admins and collaborators with CMS access always have full access to view, add, update, or delete collection items.

    • Collect content: Allow everyone or only site members to add new items to the collection from your live site with input elements or API. Also, specify who can view the content. Admins and collaborators with CMS access always have full access to view, add, update, or delete collection items.

    • Advanced: Set custom permissions for each user role to control who can view, add, update, or delete collection content. Admins and collaborators with CMS access have full access. However, you can set permissions for specific collaborator roles to restrict their access to the collection.

  5. Click Save.

Note: Even if 'Collect content' or 'Show content' permissions usually allow writing, shared collections are always read-only on destination sites. Site visitors cannot submit data to these collections.

Learn more about CMS collection permissions.


Yes, you can conveniently bulk share with multiple sites. When choosing sites or templates to share with, you can either filter by folder or use the search tool. Click the checkmarks to select the relevant sites, then click Set share status and select Share with sites.

A screenshot of sharing with multiple sites in bulk.

Note: If you share a collection that contains a reference field, the referenced collection is also shared.


Absolutely. By default, when you share a collection with a site or template, all items are shared. However, after enabling the Share collection toggle, you can click All items shared to deselect the items you do not want to share. If you share a collection that contains a reference field, the referenced collection is also shared.


Yes, by default new items added to a shared collection are automatically shared. If you wish to exclude an item from sharing, you need to actively exclude it. If you're editing an item but don't want it to appear on sites yet, you can set it to "draft" mode. This allows the item to be seen in the collection but not displayed on the sites.


Deleting a collection results in its removal from all sites and templates. Any page elements that were connected to the collection are disconnected.


If you stop sharing a collection with sites or templates, any page elements that were connected to the collection are disconnected.


Site owners and CMS collaborators will notice an indicator labeling the collection as a shared collection. They won't be able to edit content or data structure (schema) from the collection directly. Destination sites have read access only—they cannot write to, update, or delete items in shared collections, even via API.


Shared collections apply similarly to custom templates as they do to regular sites. Sharing a collection with a template allows the template designer to connect elements within the template to the shared collection. When sites are generated from this template, they also receive the shared collection, with elements connected to it.

Note: If you share a collection that contains a reference field, the referenced collection is also shared.


Yes. You can duplicate account-based CMS collections that are not tied to any particular sites in the enterprise dashboard. These collections remain independent and can be reused across multiple sites or templates.

However, you cannot duplicate shared collections within individual sites.

Tip: To determine whether a collection is shared or account-based, navigate to the enterprise dashboard and review the collection’s details under its settings.


Shared collections utilize the destination site's quotas for RPM (Requests Per Minute) and request timeout budgets.


This article is credited to the Wix team - https://support.wix.com/ and we thank them for that!

Need An AI Run Website?
Contact Us
 Today!

wix experts
Graphic2Traffic web design
©
bottom of page