Qlik Community

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Read about the latest Qlik Community enhancements on the Community News blog!
Showing results for 
Search instead for 
Did you mean: 

App to JSON

Hi All,

I want to make a tool for merging 2 diferent Sense Apps

I need some help to get the (like prj) XML or JSON representation of a sense app merge using WinMerge for example then to bring it back to a new App

I prefer using .NET api but is available to others SDK ok

Any ideas, I was looking to GenericObjects recursively but I need to go furthen and need some advice


ebiexperts CTO
With WIP, Control everything!
Qlik Sense, QlikView and NPrinting Source control, Versioning and Deployment, Agile Lifecycle Management
5 Replies

How difficult such a merge will be to implement depends greatly on how complex the apps are. As long as the two apps use the same script and data, then it is quite easy to create an app which contains objects with properties that are identical to the properties of the two apps. What will be difficult is to ensure you preserve the correct child/parent hierarchy between the objects. You will for instance need to ensure that each cell of a copied sheet contains a reference to the copied generic object it contains.

To get you started, you can have a look at this example which illustrates how to get the layout of all objects of an app: https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/NetSDKAPI/Content/CodeExamples/App-Preloa...

You might also want to look at this example that traverses all the objects of an app: https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/NetSDKAPI/Content/CodeExamples/App-Traver...


You could also check out http://branch.qlik.com/#!/project/56728f52d1e497241ae6987d which will output a json structure of your app, you can then merge them together.

Something to keep in mind is that embedded assets such as images can be a pain to move between apps.

This is an example of how to build a qvf based on a json structure https://github.com/mindspank/buildapp

Contributor III
Contributor III

Hi Alexander,

The link you provided above for producing a .qvf from a .json was very helpful. Using enigma.js, I have been able to duplicate Qlik Sense applications successfully using Node.js (to the most part).

I am stuck on the following problem - how do I leverage the Qlik Sense API's to duplicate applications that include master visualizations?

Any help would be greatly appreciated!

Kind Regards,


Contributor III
Contributor III

Solved - using app.createObject in same way as a sheet is produced! Neat.


Hi  Alexander

is it an equivalent App written in C# .net?