Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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:
Here's the code error:
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.
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.