Discussions on Enumerated Types
Start a New Discussion
-
-
How do you set the finite set of options for an enumerated type? The format doesn't look any different than a standard type.
-
An enumerated type just means it'll pick up items from a given type and won't let the user add to the list. "Gender" on "Person" is an example: you get a choice of Male/Female but can't add in a new one as you can with many other FB fields. So if you wanted a shortened list, you'd have to use (or make) a more specific type.
-
Thanks. I found out through trial and error that the list items are added as topics to the type. This was not intuitive to me and I was not able to find documentation on it. My original conception was that the list items were added as part of the schema. I like how it works but maybe it needs a little better or easier to find documentation on the actual steps of defining the set.
-