WebStoreNetwork
Represents the relationship between a web store and an experience site.
Introduced in API version 49.0.
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
-
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
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: Name of the web store network.
-
Type: reference
-
Properties: Create, Filter, Group, Sort, Update
-
Description:
ID of the experience site associated with the web store.
This field is a relationship field.
-
Relationship name: Network
-
Relationship type: relationship
-
Refers to: Network
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 60.0
-
Relationship name: Site
-
Relationship type: relationship
-
Refers to: Site
-
Type: reference
-
Properties: Create, Filter, Group, Sort
-
Description:
ID of the web store associated with the experience site.
This field is a relationship field.
-
Relationship name: WebStore
-
Relationship type: masterdetail
-
Refers to: WebStore
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.