Avatar

Correct answer by
Community Advisor

Hi,

 

There are 2 usages of db enums in schema:

  • userEnum - Use @label for everything, ignore existence of @name
  • dbEnum - Use @name for value, @label for display (your expectation)

 

Product doc is unhelpful and also wrong here, so use xtk:operator/@securityZone as a reference.

  • userEnum (string): receives the internal name of an “open” enumeration. The values of the enumeration can be defined by the user in the interface.
  • dbEnum (string): receives the internal name of a “closed” enumeration. The enumeration values must be defined in the <srcschema>. 

 

Thanks,

-Jon

View solution in original post