Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
VaishnaviMogal11
Partner - Contributor III
Partner - Contributor III

Accessing Selection made in selected app into Template app- ODAG

Hi,

How can i access selection made in selected app into template app.

i want to perform expression like if count of vin selected in selection app is greater than one then user can see data of selected vin from template app(filtered by selection app), else it should display data of vin selected in selection app

I am trying below expression but it is giving value as

VaishnaviMogal11_0-1734334933853.png

 

=if(Count(distinct vin)>1,vin=GetFieldSelections(vinheader,',',100,'$' ),vin)

 

How can i achieve this?

Thanks!

Labels (4)
1 Reply
Mark_Leifeld
Partner - Creator
Partner - Creator

Hi @VaishnaviMogal11,

you want to access the selections that have made in the selection app in the generated adage template ?
Have I understood that correctly ?

I can get these selections from the ODAG bindings. 

e.g. if 20 vin's where selected in the selection app you will find them in in their associated odag binding.

It is important that there is a corresponding binding in the script. it could look like "odag_vin" .