Hi Ole,
There was a change in Dundas BI version 8.0.1.1000, due to which the sortable dates export the date column in the following format - YYYY-MM-DD hh:mm:ss. Due to this change you get the entire date time in the exported excel sheet.
In this case, as you have found unchecking the “Sortable Dates” checkbox will do the trick. However, currently we do not have a system property that can use to change the default values of the export dialog. But, Dundas BI has a wide library of the Public functions and APIs that you can use to perform customizations.
You can add the following script to the loading event of the dashboard that has the table where you do not want the “Sortable Table” to be checked by default.
var exportService = dundas.context.getService("ExportService");
var viewService = dundas.context.getService("ViewService")
var getUI = exportService.getCustomConfigurationUI;
exportService.getCustomConfigurationUI = function(providerId){
$(viewService.currentDialogShown).bind(dundas.controls.ExportDialogConstants.loadUICompletedEventName, function() {
$("#" + dundas.constants.EXCEL_SORTABLE_DATES.toUpperCase(), dundas.context.currentDialogShown.contents)[0].checked = false;
})
return getUI.apply(this, arguments);
}
This will uncheck the “Sortable Dates” checkbox by default. Or you can add a button which on clicked can generate the excel export for the end user. You can have the required property added to the script that would generate the excel export. We do have a sample script that you can refer to if you want to use this route - https://www.dundas.com/support/developer/script-library/export/create-an-excel-export
Regards,
Pankaj