Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!

how to get enum value internal name in javascript template

Avatar

Level 3

this has ben bugging me a lot lately. When using an enum in for instance the recipient table in a template you get the label of the enum value, but for programmatic reasons I want to access the (acually stored) internal name of the value, and not the "translation". I thougt it was some .toString() or similar to get it but I can not find any documentation or way around other that loading the whole enumeration and translating it back...

1 Reply

Avatar

Level 3

I have tried to load the corresponding field as additional personalization data in the delivery template, but it still apears with the label of the value.