Home > Forum > User Voice > Enum like structure

Enum like structure
0

MVP

Hello,
during my experience with BPS Designer Studio (around 2 years) I've been multiple times in a situation where I had to create 'Constants' for positions from BPS 'Fixed values list'.

So there is a short list of values for example Car Types:
1. Sedan
2. Hatchback
3. Pickup

Let's say you have a single form, where you want to display fields conditionally - depending on the selected Car Type.

To make it well documented instead of putting Car Type (ID) = 1 - you have to create 'Constant' CarType Sedan with value 1 and so on.

Structure like enum would make this easier, and more condensed - instead of having a data source, and constants (1 app, x app, or global) there could be the enum structure, which should have a possibility to be used as data source, and it's values as values in for example buisness rules.

Any suggestion on how anyone deals with it would be appreciated :)

Nobody has replied in this thread yet.