Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
MetaDataContext MDContext = CatalogContext.MetaDataContext;
MDContext.UseCurrentUICulture = false;
//string
foreach (string language in Languages)
{
MDContext.Language = language;
MetaHelper.SetMetaFieldValue(metaobj)...
metaObj.AcceptChanges(MDContext);
}
MDContext.UseCurrentUICulture = true;
I am working on importing data into a catalog.
The catalog exists in multiple languages, and therefor I need to create meta data for the nodes/products in the available languages.
But the SetMetaFieldValue method does not take a language as a parameter. How do I go about this?