Represents the relationship between a web store and an experience site.
This object is available in API version 49.0 and later.
Supported Calls
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
Special Access Rules
You must:
- Have CRUD read permission to access this object
- Be a Salesforce admin with CRUD create permission to create a new record in this object
Fields
| Field | Details |
|---|---|
| Name |
|
| NetworkId |
|
| WebStoreId |
|
Usage
After you copy web store data between a sandbox and production, or between sandboxes, you can programmatically associate the copy with a different site by updating the corresponding WebStoreNetwork record. You can even change the association while the store is active. The site must use a template that’s compatible with the web store type, and the site can’t be associated with a store. Otherwise, you can change the association only by editing the web store in the UI.