Hi'
Does anyone know of a way to change the default view of an entity list when downloading as Excel?
I have a case, where I want the download button to utilize a much richer list of columns than the list presented to the user. But I don't want to bother the user with manually changing the view (resulting in an ugly list with far too many columns) before downloading.
I thought up a couple of "solutions" myself but would like to hear your input before choosing the right strategy. Perhaps there's a way simpler path than I thought... :-)
- Including alle columns in the displayed view, but removing the one I don't want the user to see by javascript by hiding the corresponding <th> and <tr>'s
- Including two views, but hiding the view selector and programmatically change the view hen the user clicks "download"
- Implementing my own Excel-download feature based on javascript Excel-exporter with data generated by a FetchXML
- Your idea... :-)
Anyone has an idea?