Export in excel

Hello, is there any way to choose which columns i want to export to excel, for example:

image

Let’s say i only want to export Id servico, id c custo and Quantidade in a excel sheet.
Is there a way to export only those ones?

Hi @Tiago_Violante,
As you noticed, the standard excel action exports all fields.

I will suggest an easier approach, that may fit your needs: presentations. It is very easy to implement (you just need to set presentations="true" in your browse screen table), and after that, no additional code is required.

If it does not fit your needs, you’ll have to code a different excel action extending the default excel action:

In both cases, I suggest you take a look at the default excel action class: ExcelAction.

Regards,
Peterson.

1 Like