Try our conversational search powered by Generative AI!

Get dictionary items via IContent?

Vote:
 

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
Vote:
 

Thank you for the information Quan!

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