Getting the abbreviation from an ENUM, in export .XLS

0
Hi fellow-makers, I am exporting data from an MX app to an Excel-sheet, but right now I map an enumeration as an attribute to a column. So by default, it performs a “getKey” on that enumeration. However, the value I want to show in that column is the abbreviation of that name, which I would need a “getCaption” for.   I’ve tried changing the mapping in the MxModel XLS exporter on the front-end side, as the administrator. However, I get to choose the attribute there, not the method with which it retrieves the value. By default it is getKey, as forementioned, I need it to be getCaption. This is the pop-up where you can choose the mapping:
asked
2 answers
7

Hi,

Experts have already answered for getcaption in XLS Exporter.

https://forum.mendix.com/link/questions/85651

Hope it helps

answered
3

Maybe store the (Get)caption in a string attribute and export that one?

answered