Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
denisb
Contributor III
Contributor III

API call from Extension (AJAX, NODE.JS)

Hi, 

I want to make a new Extension which will use the api to do something. For example "reload app". I want it with full rights, because with a "normal" reload button, our users also need access rights for the data sources. 

So I tried a ajax solution, like this example: https://support.qlik.com/articles/000029463 . First on my local mashine, for testing. But i get an error 401 (Authentication header expected). The virtual proxy is reachable. I can connect to it with chrome. 

I also tried a nodejs solution, like this: https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/RepositoryServiceAPI/Content/Sense_Re... . It works from my local mashine. But to use it as a Qlik Sense Extension, I need somehow the packages https and fs. Any ideas? 

Or is there a better way? 

 

Thanks a lot

 

0 Replies