Skip to main content

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
CUSTOMERS ONLY: Now accepting customer applications for the 2023 Luminary Program: SUBMIT NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
xiaojunzai
Contributor III
Contributor III

How to export data on qliksense mashup

Hi all,pls tell me how to export data on qliksense mashup,can not be exported by clicking the right mouse button or with an extension without any restrictions,thank you!

11 Replies
jitu2110
Creator
Creator

Hi, 

do you have any idea how to cancel a Export to excel request? for example exportData is taking too much of time to download , i want to cancel the Exportdata. 

 

please let me know how can we do this.

Aiham_Azmeh
Employee
Employee

Hi,

The only way you can do this is through CancelRequest (https://core.qlik.com/services/qix-engine/apis/qix/global/#cancelrequest), unfortunately we do not expose it in the capability APIs, but you should be able to use it through enigma.js

The request id should be part of the returned promise from the exportData method:

const exportObj = vis.exportData({ format: "CSV_C", state: "A" });
// should have something like:
/*
{
  $$state: {status: 1, value: "..."},
  requestId: 52 // <- requestId
  then: ƒ patchedThen()
}
*/