Skip to Content
author's profile photo Former Member
Former Member

Smartedit content catalog version selector has multiple duplicate entries

Is it possible to remove duplicate entries from the content catalog version selector list ? This is most likely a by-product of our multicountry setup. (screenshot below) alt text

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2019 at 03:34 PM

    Hi Steve.

    Even in a multi-country setup there should not be duplicates.

    The catalog version selector is using the PreviewDatapreviewCatalogDropdownPopulator to populate the list of catalog versions.

    This populator first uses the SiteService to fetch all the sites, and then for each site it will use the CatalogService to get the content catalogs.

    Each content catalog is then displayed in the list as <catalog_name> - <catalog_version>

    So somehow either there are duplicate names or the catalogs/sites are somehow returning duplicates from the wcms APIs.

    Looking at the network tab and refreshing smartedit can you see the response for /cmswebservices/v1/sites ?

    If that looks ok, open the experience selector, and you should see a request in the network for each site, for their content catalogs. Something like cmssmarteditwebservices/v1/sites/electronics-de/contentcatalogs

    Try and narrow this down to where the duplicates are coming from. All the catalog names will also be in these responses.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.