Our product has a requirement to export its own format (mainly an XML file) to Excel for viewing / editing. However, this is due to the dependency on Excel (or Office) for our product assembly β which we donβt want.
What we did was export data from our own format to a csv file that can be opened in Excel. If the user also selects the option to open the generated report, we (try) to run the Excel application to open it (of course, it requires that Excel is already present in the client system).
Data for the most part is a flat list of records.
Is there a better way (or even a better way) to fulfill this requirement? This is a common requirement for many products - how do you deal with this?
Ather source
share