ODAG links between a base app and template app break when the base app is replaced with a new/updated version. The dynamic view needs to be manually recreated during every single deployment.
The work around that we have to do during every release to re-link the template and base app is quite painful and there doesn't seem to an automated solution via Qlik-Cli/API calls. We perform the following steps to re-create the link in our production environment during a release:
• Overwrite the existing published app with the new version (this is automated)
• Make a duplicate of the new version of the published app
• Make themselves (person doing the deployment) the owner of the template app
• Go into the duplicate version of the base app and recreate the dynamic link (Qlik Sense Hub > Work > App(1) > Sheet > Edit > Dynamic views > Create new)
• Drag the dynamic view object into the proper location in the sheet
• Overwrite the published app with the duplicate app (the app with the link in-tact)
• Change the owner of the template app back to INTERNAL\sa_repository
• Run the reload task
Would be great if the ODAG links stayed in-tact after a production release.