Wrong enum language in document

1
Hi all, We generate a .pdf document based on the system.language of a user. In the document we use enum values in nl_NL and en_GB. Both translations are correctly there, as seen in the running application. However, when the document is generated only the dutch enum captions are shown. Even if the document is completely in English (all strings and other items are correctly translated) only the enum values are in Dutch. Is there a way to debug the document generation to find out if the correct language caption of the enum is retrieved while generating the document? Thanks!
asked
3 answers
1

Can you reproduce this in a testproject? Translations to enums are normally applied just fine, wondering what the edge case is here.

answered
0

What happens if you run the microflow which generates the document with apply entity access to true?

answered
0

An ugly quick workaround would be to create a temp string and fill it with the getcaption function based on the user language.

Regards,

Ronald

answered