Qlik Community

Integration, Extension & APIs

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

Announcements
Don't miss the upcoming Q&A with Qlik session on Qlik Application Automation on November 16th! REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Senor_Dai
Partner
Partner

Building Bespoke NPrinting OnDemand button for Qlikview

Hello,

Due to the limitations of NPrinting ONdemand and Locked fields, Triggers and Variables we need to add a button to our dashboard that the user can click that starts an ondemand request.  By clicking the 'Create Report' button it clears all locked fields and forces the user to make selections.  Due to locked fields we cant rely on the user to clear/unlock before running the Ondemand repor from the standard AccessPoint solution.

Firstly, can anyone help on authenticating from a button onlick as per API Documenation:

// Plain javascript
// https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials

var xhr = new XMLHttpRequest();
xhr.open('GET', 'http://example.com:port/api/v1/login/ntlm', true);
xhr
.withCredentials = true;
xhr
.send(null);

// Jquery
// http://api.jquery.com/jquery.ajax/
$.ajax({ url: 'http://example.com:port/api/v1/login/ntlm',
xhrFields
: {
   withCredentials
: true
} });

 

Any help very much appreciated!

Many thanks,

Dai

 

Labels (5)
0 Replies