The checkbox that determines single- vs. multivalue dictionary meta field is missing in Commerce Manager. Does anyone have an idea about why this happens?
My reproduction steps:
1. Go to Commerce Manager -> Administration -> Catalog system -> Meta fields
2. Then select any dictionary type meta field or create a new meta field of dictionary type.
=> The checkbox Multiline is not there, but instead a gap between Supports Multiple Languages and Use in comparing.
(I would have uploaded a picture but I am not allowed.)
Are you selecting String Dictionary instead of Dictionary ?
Only Dictionary type allows the selection of Multiline (i.e. DictionarySingleValue vs DictionaryMultiValue), basically what Surjit said
@Quan, I think the String Dictionary introduced in Commerce 13.1, however @Hampus is looking in commerce version 12.12.
The String Dictionary is the correct option for the saving of multiple values.
No. String Dictionary has been there since forever. It was added support for content API in a later version (I don't recall which, but I was the one made the contribution)
StringDictionary does not has the selection for multiline
Thanks for your replies. I am using the Dictionary type, for which the multiline checkbox is not visible.
Edit: however, the Multiline option now appears when I create a new meta field. Maybe the page reload didn't work correctly last time I tried it.
You can install a new Commerce Manager site, and point the connectionStrings to your databases, to see if it works. The Apps folder can sometimes be corrupted (missing files, for example).