Hi,
I created an Enumeration in a Type-Definition-Model that is imported successfully to my Document Model. In this DM, i am now able to add a field and choose the imported type-definition as type.
If i however want to use this type-definition as value in a multi-select, the type-definition is not available for selection. The autocomplete always shows “0 out of 0 options”.
According to the documentation, i don’t see a reason why i should get this behavior.
I would be happy to receive some support here. Thank you.
Figured it out …
Issue:
The issue is that the default data-type of the value in a multi-select is “Enumeration”. With this default type, the type-definition is not available for selection.
How to fix it:
It is necessary to change the default data type from “Enumeration” to “String”. Only then, the type-definition is available for selection. After selecting the type-definition, the data type is automatically changed back to “Enumeration”.
I think this behavior is not intuitive but if it is intended and documented, then it is okay.
Hi @bastian-frosted-drift, thanks for the investigation and the workaround.
The behavior that you’ve described sounds like a bug but I’ve just tested this in the SME 10.6.4 (ext7) and SME 10.6.1 (ext6) and cannot reproduce your issue. In both case SMEs, I could:
- Create a multi select
- Select the “value” Enumeration in the repeatable group
- Set the type Definition Checkbox to true
- Select an imported Type Definition from the drop down.
Can you share your models and tell me which version of the SME that you’re using so that I can investigate this further?
I somehow also cannot reproduce it anymore. I can only imagine that it was a one-time issue in my SME. If it happens again, i will contact you.