Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Export file name issue with exportClientData

    Hi,

    I have an issue with exportClientData. The file name given for the export file is not getting assigned. The data is getting exported fine and all the other properties I have set . I am using IE 9 . Here is my sample code :


    DSRequest dsRequestProperties = new DSRequest();
    dsRequestProperties.setExportAs(ExportFormat.XLS);

    dsRequestProperties.setExportFilename("monthly results for the company" + ".xls"); dsRequestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);

    grid.exportClientData(dsRequestProperties);

    I get the file name as an IDACALL . Could you please look into this.

    #2
    You should see that the request to the server includes the exportFileName as part of the request path. This is why the default IDACall mapping in the web.xml included with the SDK is registered for IDACall/* and not just a single URL.

    If you've either changed the mapping, or have put some kind of redirect or other filter servlet in the way such that the additional path component is lost, you would break the mechanism we're using to get IE9 to recognize the exportFileName.

    Comment

    Working...
    X