Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Fetch products from catalog


I have moved a product from one catalog to another and made sure that all the variants of this one product is updated in which category it "belongs to" - but still I can't find it.

For retrieving the products from catalogs i use this - which works fine for the main catalog, but the new alternative catalog continues to be empty.

var catalogEntriesDto = context.GetCatalogEntriesDto(catalog);
if(catalogEntriesDto == null)
                             return new List();
var references = context
                             .Select(entry => referenceConverter
                                                          .GetContentLink(entry.Code, CatalogContentType.CatalogEntry))
return references;

Any help would be appreciated. :-)



Jul 07, 2017 11:26

Make sure you updated the catalog on every variant as well.

What is the reason for using the old CatalogEntriesDto instead of the new Content API?

Jul 07, 2017 13:29


Found the problem - the problem was that the CatalogContext.Current only can hold the main "Site Catalog" ... So i just be fetching them manually from the ContentRepository as you suggest...


Jul 07, 2017 13:46
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.