Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
fnfr
Contributor
Contributor

Automated app copying and updates using Engine API and Node.js

Hello.

I have Qlik Desktop and I want to create a script in Node.js to automate the copying of an existing app in my local Qlik Sense and update the data connections and point to different data for each new app copied, doing all this using the Qlik Engine API. According to my studies, the Enigma.js module interfaces between Node.js and the Qlik Engine API, and here is some code I wrote to copy an app:

fnfr_0-1695916877039.png

 

Here's the code error:

fnfr_1-1695916976885.png

 

 

Labels (2)
1 Solution

Accepted Solutions
Øystein_Kolsrud
Employee
Employee

You say you are using Qlik Sense Desktop? In that case, then method "CopyApp" is not available to you. It's only available in the server version (Qlik Sense Enterprise): https://help.qlik.com/en-US/sense-developer/November2022/Subsystems/EngineJSONAPI/Content/service-gl...

But if you are using desktop, then the most straight forward way of creating a copy of the app is to simply do a file copy of the qvf. You don't need to go through the API's for doing the copy part. But you will need the APIs to modify your connections.

View solution in original post

1 Reply
Øystein_Kolsrud
Employee
Employee

You say you are using Qlik Sense Desktop? In that case, then method "CopyApp" is not available to you. It's only available in the server version (Qlik Sense Enterprise): https://help.qlik.com/en-US/sense-developer/November2022/Subsystems/EngineJSONAPI/Content/service-gl...

But if you are using desktop, then the most straight forward way of creating a copy of the app is to simply do a file copy of the qvf. You don't need to go through the API's for doing the copy part. But you will need the APIs to modify your connections.