Question

Is it possible to set up custom display values for enum properties?

  • 5 June 2023
  • 2 replies
  • 200 views

Hey,

when setting up the `enum` event property, is it possible to assign a different display value to each of the enum values?

So let’s say my enum is defined like this
 

enum property Character

  “values” → character1, character2, character3

  “display values” character1 = “Mickey Mouse”, character2 = “Johnny Bravo”, character3 = “Mandalorian”

 

I’d like to use “display values” in the charts, instead of the IDs that are usually the non-user-friendly UUIDs.


2 replies

Badge

Joining the question here, we send out enum values as numbers, would be very useful to be able to map them to human readable strings.

Userlevel 5
Badge +8

@Eyal Bukchin apologies for the late reply! I’ve sent your question to our support team to see if they have any helpful tips!

Reply