Commerce Foundation Channel

The Channel entity holds channel configuration data.

Model

You can modify this commerce entity. This model, taken from the Solution Storefront site, is provided as an example.

<CommerceEntity name="Channel">
        <DisplayName value="Channel"/>

        <Authorization>
          <Operation name="Query" >
            <Claimset name="Everyone"/>
          </Operation>          
        </Authorization>
        
        <Properties>
          <Property name="Id" dataType="String" />
          <Property name="SiteName" dataType="String"/>
          <Property name="HasInventorySystem" dataType="Boolean"/>
        </Properties>

        <Relationships>
          <Relationship name="Catalogs" type="CatalogRelationship" modelName="Catalog" isMultipleItems="true" >
            <DisplayName value="Catalogs" />
          </Relationship>
          <Relationship name="MembershipSettings" type="Relationship" modelName="MembershipSettings" isMultipleItems="false" >
            <DisplayName value="Membership Settings" />
          </Relationship>
        </Relationships>
      </CommerceEntity>

Properties

Property

Type

Description

Id

String

Name of the channel as specified by the channel's name attribute in the ChannelConfiguration.config file.

SiteName

String

Name of the Commerce Server 2009 R2 site that is associated with the channel.

HasInventorySystem

Boolean

Determines whether the inventory system is enabled for this channel.

Relationships

Property

Description

Catalogs

Relationship list containing the catalogs associated with the channel.

MembershipSettings

Relationship list containing the membership settings associated with the channel.

Supported Operations

The following operations are supported for the Channel commerce entity:

Commerce Foundation Channel CommerceQuery

See Also

Other Resources

Developing with Commerce Server 2009 R2

Developing with the Commerce Foundation Catalog System

Commerce Foundation Channel CommerceQuery