ahaydon / Qlik-Cli-Windows

Qlik-Cli for Windows
https://adamhaydon.uk/Qlik-Cli-Windows/
GNU General Public License v2.0
110 stars 51 forks source link

Extract JSON #202

Closed mattiasthalen closed 1 year ago

mattiasthalen commented 1 year ago

Is it possible to use this tool to extract the JSON file of the app?

I’m looking to have a text file to commit alongside the qvf, so I can see what changed in the app.

Toteroni commented 1 year ago

I am also curious if there is a way to export a qlik app as a .json file. Either with Qlik-CLI or if someone knows if there might be a way with the Qlik Engine API.

mattiasthalen commented 1 year ago

It’s possible using qlik app unbuild in qlik-cli, but can’t find anything similar in qlik-cli-windows.app unbuildqlik.devOn 10 Mar 2023, at 00:06, Toteroni @.***> wrote: I am also curious if there is a way to export a qlik app as a .json file. Either with Qlik-CLI or if someone knows if there might be a way with the Qlik Engine API.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

ahaydon commented 1 year ago

This is not possible with Qlik-Cli for Windows as it's written in PowerShell, so is limited to REST APIs and mostly works with the QRS. It would require development of a C# module or use of the Qlik .Net SDK to communicate with the engine.

As you mentioned, this can be done with the new qlik-cli using the unbuild command, this is documented here https://qlik.dev/libraries-and-tools/qlik-cli/app-unbuild.