Coder Social home page Coder Social logo

Comments (3)

lilianvallon avatar lilianvallon commented on September 26, 2024

Same here.
Optionnal name doesn't work.....
Tested on windows with IE and Firefox.
And i just want to define a static value, like file.xlsx instead of having an ID.

from sense-export.

rickpostprovelu avatar rickpostprovelu commented on September 26, 2024

We have the same problem. In the code we can see that the 'File name (optional)' is currently only possible in the 'CSV Tab separated' and with the 'CSV - Client side' options.

We checked this and it seems that only exporting to 'CSV - Client side' is working properly. The Tab separated file is probably deprecated since the last commit.

I will let you know if we found a fix for naming the exported Excel files.

from sense-export.

rickpostprovelu avatar rickpostprovelu commented on September 26, 2024

So, here is the answer about the filename exporting not working.

In short: It only works in Qlik Sense Desktop.

Long story:
For the options Open XML, Tab separated and Comma separated it uses the parameter qFileName. This option is only available in QS Desktop. To avoid this problem Stefan used a 3rd party code called FileSaver to export his function. In this function he collects all data and defined the styling for every row in a loop. This way you can make 'easily' a CSV-comma separated or tab separated. But an Excel file is too complicated to remake.

So the conclusion: In QS Enterprise only the client-side format works for naming to export.

See click documentation about the ExportData method used in this extension.
https://help.qlik.com/en-US/sense-developer/April2019/apis/EngineAPI/services-GenericObject-ExportData.html

from sense-export.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.