Hey @ahmad-warm-vale,
thanks for your answer and your help. In our case we don´t want to use an externalEnumeration as suggested in TPS Investigates: How to use an External Enumeration?.
Perhaps I was not clear enough in my question
. We just want to select the “Enumeration Values” by a selector (if one exists
) or is there another way to get the data from a modelled enumeration/field etc the code?
For sure we could hard code the profiletypes for the widgetMap.select. For eg:
const items: SelectItem[] = [{ label: "Mein Profil" }, { label: "Giin-Profil" }, {label: "Crs-Profil"}];
But it doesn´t feel right, if data already exists somewhere ![]()
Maybe there is another solution?
Thanks again for your help ![]()