I am running into an issue were I am finding myself setting up an export multiple times for each user request and I am hoping there is a smarter way.
In my original setup I made a report layout that had a fields the user requested and then simply ran the script step saved records as Excel. This works well as long as the user is happy with Excel and the default header names.
What I would like to do now is offer the user the ability to change the header names and save as CSV. But I am finding there seems to be no way to do this without using the export records script step. This requires me to set all the field again in the script even though the layout already has them. Is there really know way to export to CSV using the fields on a layout?