bohua / nprinting-sense-on-demand

NPrinting On-demand extension for Qlik Sense
MIT License
10 stars 13 forks source link

Add selections on the NPrinting ondemand API call to enable filtering #3

Closed avb-qlik closed 7 years ago

avb-qlik commented 7 years ago

Add getSelections to get filters from Sense Refactor doExport to enable selections on the NPrinting ondemand requests API call. Note that you need both selections and connectionId parameters. I've added a random hard-coded connectionId Guid just for sample purposes.

youtiger commented 7 years ago

There is a hard-coded GUID for the Connection-ID on Line 170.

 169 +  // here's the sense connection on which we want to apply selections  
 170 +     connectionId: 'af16cb2b-1e33-495c-a38b-f090d2de57b3'  
avb-qlik commented 7 years ago

@youtiger yes. It's just a sample code. Connections APIs are coming with the next NPrinting release. @bohua will adjust the code as needed.