volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Get dictionary items via IContent?

Hi,

Is there any way that one could fetch dictionary metafields from nodes/products/variants using the CatalogContentProvider?

Or is the ICatalogSystem the only way to retrieve dictionary values?

Thanks.

#140742
Oct 29, 2015 6:18
Vote:

Hi,

If you're using 7.11 or later (IIRC), you can access MetaDataType.DictionaryMultiValue and MetaDataType.DictionarySingleValue via Content API, they are just a List<string> and a string, respectively. StringDictionary is still not supported. 

Regards,

/Q

#140755
Oct 29, 2015 11:00

Thank you for the information Quan!

#140760
Oct 29, 2015 12:21
error 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.