Export a specific table data in a layer to Excel

I am working on exporting data from a table to Excel along with its filter values. I am using the sample code from the link below but it is not working out for me. I have only one table in that layer so I do not want to choose from a dropdownlist.
//https://www.dundas.com/support/developer/script-library/Export/Export-Specific-Visualization-to-Excel

I have multiple layers in my dashboard and I only want to export a single visualization from a layer (Not all the visualizations from every layer).

Dundas version 7

This has been solved via email with a minor change in the script.

1 Like

Can you share what that minor change was for reference?

Hi,

In the examples for both the versions, there is a property which gets its value from isLegacyExportCheckbox, which you will see just above the Export to Excel button. In case you do not have that checkbox in your view, you will need to set the property value to true/false or get rid of the line entirely.

image
This was the minor change in this case, could be a different issue in your case.

2 Likes