close

Filter

loading table of contents...

CoreMedia Content Cloud v11 Upgrade Guide / Version 2110

Table Of Contents

6.11.8 Updated Multi Catalog Configuration

The catalog alias configuration for the multi catalog feature has been unified with the catalog configuration for a single catalog configuration. In the former Studio content configuration setting both the catalogConfig struct and the livecontext.catalogAliases list could define catalog aliases. This was very misleading and has been unified now.

If you do not use the multi catalog feature there is no action required.

If you use multiple catalogs in a site, the catalog aliases must be configured via the additionalCatalogConfigs struct list below the commerce struct from now on. The old configuration via livecontext.catalogAliases needs to be transferred to the new struct list additionalCatalogConfigs. Each catalog configuration consist of alias, name and id. At least the alias and one of name or id must be configured.

Old format:

<StructProperty Name="commerce">
  <StructProperty Name="catalogConfig">
      <StringProperty Name="alias">catalog</StringProperty>
      <StringProperty Name="name">Default Catalog</StringProperty>
      <StringProperty Name="id">12345</StringProperty>
  </StructProperty>
  ...
</StructProperty>
<StructProperty Name="livecontext.catalogAliases">
  <Struct>
    <StringProperty Name="catalog">Default Catalog</StringProperty>
    <StringProperty Name="asset">Asset Catalog</StringProperty>
  </Struct>
</StructProperty>

New format:

<StructProperty Name="commerce">
  <StructProperty Name="catalogConfig">
      <StringProperty Name="alias">catalog</StringProperty>
      <StringProperty Name="name">Default Catalog</StringProperty>
      <StringProperty Name="id">12345</StringProperty>
  </StructProperty>
  <StructListProperty Name="additionalCatalogConfigs">
  <Struct>
    <StringProperty Name="alias">asset</StringProperty>
    <StringProperty Name="name">Asset Catalog</StringProperty>
    <StringProperty Name="id">6789</StringProperty>
  </Struct>
  </StructListProperty>
 </StructProperty>

Consult the commerce adapter documentation for more details.

Note

Note

The default catalog is configured via commerce#catalogConfig, whereas all additional catalogs are configured via commerce#additionalCatalogConfigs.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.