Qlik Sense. How to move an app with Dynamic Views or ODAG to a QAP

Alex Polorotov
3 min readMar 7, 2021

This article explains how to move an app using Dynamic Views/ODAG to a QAP environment, where it's not possible to edit the app directly from the UI.

After moving an app from Qlik Sense Enterprise into your QAP environment you will see that kind of an error:

ODAG link errors and Dynamic View error

So, your selection app won’t be work because there are no any ODAG links on your server and your selection app contains invalid information about template apps.

Each app import operation generate new ID of the appliction, but objects in the app have the same IDs.

To fix that error you need to recreate ODAG links or recreate the Dynamic View link through the UI. It is pretty simple to do in Qlik Sense Enterprise but in the Qlik Analytics Platform, there is no UI for doing that.

So, there is only one way for that in QAP — API calls.

But it is not cool and not for a lazy man like me. So we created a simple mashup for ODAG link recreation in the QAP environment.

At first, install the mashup in QMC.

You can download the latest version from here — https://github.com/datanomixpro/qlik-qap-odag-admin

Mashup Github page

Then copy the application's IDs from the QMC.

selection app and template app IDs

Open the imported mashup.

Then paste your Selection App ID, Template App ID, and press the Refresh button (4th step on the screenshot above).

Second step. Open mashup and paste your Selection App id and Template App id:

As you can see above, there are three “Invalid” buttons in the link navigation bar. To fix them you need to recreate ODAG links.

To fix ODAG links you need to create a link and then you can add a link to the link navigation bar as a button.

Create new ODAG link
Add Link to the navigation bar

After that, you will see the “Generate” button in your Selection app.

If you want to repair Dynamic View use “Create Link” and “Apply New Link” buttons in the “Dynamic View Repair” section of the mashup.

Before “Apply New link” you need to copy and paste the container ID (field Container ID) of the object from the app where you have a dynamic view object. To check the Object IDs from the UI on a Qlik Sense Enterprise Environment with access to the hub, add /options/developer to the URL, then select the developer menu on the right for the dynamicappview object ID and right-click the dynamic chart and choose “developer” in order to get the ID for the dynamic chart.

Video instruction — https://www.loom.com/share/53a16c7e1a7e4717ae42ba8b52c93aad

Created by datanomix.pro team

--

--

Alex Polorotov

Maximizing BI adoption | Dataholyc | Qlik Partner Ambassador