Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
geertdeman
Contributor III
Contributor III

ODAG- template app load data as regular app

hi,

Is there a possibility to use a regular app app as a template app in qlik sense.  At this moment we dont use odag but we have 2 apps that can be linked.  One app contains overview data and could work as selection app and the second app could work as template app.  Both app's has it own reload script without odag filters at this moment and data is reloaded for each app.   Will this still work if we add a binding where clause to the detailed app? so that detailed app should work on it's own or as template app.   Not sure if that is possible

Labels (1)
1 Solution

Accepted Solutions
Dalton_Ruer
Support
Support

That is very doable.  Refer to this help post: https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/LoadData/creating-On...

and this example from a recent blog post I wrote: https://dataonthe.rocks/dynamic-views-in-qlik-sense-saas/

There is a system variable $(odagActive) that can be checked to see if you are just pressing "load data" to load the application by itself, or whether it is being called for ODAG use. 

In my example I set a couple of parameters so I could test the where clause. You could just as easily simply setup more an 

IF (not odag)

    select all of the data

ELSE

   select with the where clause from odag

END IF

View solution in original post

1 Reply
Dalton_Ruer
Support
Support

That is very doable.  Refer to this help post: https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/LoadData/creating-On...

and this example from a recent blog post I wrote: https://dataonthe.rocks/dynamic-views-in-qlik-sense-saas/

There is a system variable $(odagActive) that can be checked to see if you are just pressing "load data" to load the application by itself, or whether it is being called for ODAG use. 

In my example I set a couple of parameters so I could test the where clause. You could just as easily simply setup more an 

IF (not odag)

    select all of the data

ELSE

   select with the where clause from odag

END IF