Data Sharing Policy Object


A data sharing policy defines how a data collection is shared between sites in the same Wix account.

The policy specifies which collection to share, optional filtering rules to control which items are accessible, and serves as the access credential for other sites to connect to the shared collection. Multiple policies can be created for the same collection with different filtering rules or access patterns.

Properties
createdDatestringRead-onlyformat date-time

Date and time the data sharing policy was created.


dataCollectionIdstringimmutablemaxLength 255

ID of the data collection to share.


dataItemsFilterStruct

Filter to restrict which items from the collection are shared.

Use API Query Language syntax to define filtering rules. If not specified, all items in the collection are shared.


idstringRead-onlyformat GUID

Data sharing policy ID.


updatedDatestringRead-onlyformat date-time

Date and time the data sharing policy was last updated.

Did this help?