Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
_CD_
Contributor III
Contributor III

Load script in Qlik

Hi !

I will try to be more explicit than the subject of this post 😄

I want to load in a Qlik App the script from multiple apps. Not the script log from a reload (I already do this), but really the "original" script in the App.

Is there a way without have all script in external qvs file ?

The goal of this is to collect information on how devs are scripting, read comments they puts and perhaps over things...

Perhaps by a API REST connection or something else ?

Thx for your help.

Labels (1)
5 Replies
mpc
Partner - Specialist
Partner - Specialist

Hi, 

Maybe with this endpoint: https://help.qlik.com/en-US/sense-developer/February2024/APIs/RepositoryServiceAPI/index.html?page=5... and then filter on objectType = "script", I don't know if it's work, but it worth a try

Kind regards

From Next Decision and mpc with love
_CD_
Contributor III
Contributor III
Author

I've always pb to understand this part of the doc.

We agree that we can't access these by all available monitoring_apps_REST_* connections available in Qlik Sense ?

mpc
Partner - Specialist
Partner - Specialist

We agree, you should create your own data connection, https://community.qlik.com/cyjdu72974/attachments/cyjdu72974/qlik-sense-enterprise-documents/1941/1/...

 

From Next Decision and mpc with love
_CD_
Contributor III
Contributor III
Author

Sorry to come back only now. I couldn't test yet. Just to understand more @mpc :

The filter on objectType="script" has to be put directly in the query in the connection ? Or it's something to do in Qlik after reload ?

And if it works, I needs to connect  to each Apps 'by replacing {id} one by one? Is it possible to loop something ?

I hope I understand well !

mpc
Partner - Specialist
Partner - Specialist

At least you comeback !

For me you can put the filster in the script, I don't think this endpoint support filter option. 

Yes you can loop, you can get alll apps id by uisng the REST API apps endpoint 

So yes, good understanding !

From Next Decision and mpc with love