Getting the abbreviation from an ENUM, in export .XLS

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:
2 answers


Experts have already answered for getcaption in XLS Exporter.

Hope it helps


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