Mark columns for export

When exporting a view to a CSV…

The resulting file does really well actually.

  • If the column is a reference, the “label” data is recorded (not the key)
  • Only visible columns are included
  • Things like costs have dollar signs (or the appropriate sign)
  • Column display names are used as the column headers

It would be even better if we could specify which columns to include in the CSV export manually with a toggle;

  • you know, one of those settings way at the bottom no one typically pays attention to?


As always, thanks for considering! 3X_d_5_d51363a862e7ab883241c312ac5d7f271579cdd3.gif

Status Open
2 7 198
7 Comments
Marc_Dillon
Platinum 1
Platinum 1

“csv_if”

voted!

MultiTech
Gold 4
Gold 4

After some discussion with @Aleksi about the exported column headers - I think the following might work.

Context("host") <> "server"

I think if you use that in a show if, it might be excluded when the system is generating the CSV.

Marc_Dillon
Platinum 1
Platinum 1

oh cool. I’m taking my vote back then!

Aleksi
Staff

Unfortunately CONTEXT() won’t do that. It just clears the data from that column, but it doesn’t remove the whole column from the CSV or the column header.

MultiTech
Gold 4
Gold 4

awwww… that’s too bad.

Aleksi
Staff

Sorry about that.

Status changed to: Open
Pratyusha
Community Manager
Community Manager