I have added a custom business object to [Contact] for storing a [JobRole] of type "Dictionary items".
Is there any way to read the collection of item values from the dictionary object and, for example, populate a drop down list?
Can't seem to find an example of this being applied anywhere.
Any help would be appreciated.
Let's try this:
var originalMetaType = DataContext.Current.MetaModel.RegisteredTypes["JobRole"];var items = originalMetaType.EnumItems;
Thank you for the reply.
I tried what you suggested, but .EnumItems only contains one item (the first in the list).
However, the business object dictionary list contains 3 items.