Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Now Live: Qlik Sense SaaS Simplified Authoring – Analytics Creation for Everyone: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
tajmohamed30
Creator III
Creator III

Passing selections with button navigation in different apps in Qliksense

Hi team,

I have implemented a button with url containing link to open another app.

Now in my 1st app I have Filter named "Brand" and now I have selected a value in Brand Filter 

If  I select the button the 2nd app is getting opened

The requirement is how can I transfer the same selection to the 2nd app also which has "Brand" filter

Thanks

 

Labels (1)
1 Solution

Accepted Solutions
Vishal_Gupta
Partner - Contributor III
Partner - Contributor III

This seems to be like a document chaining use case.

You can refer to the following links to understand this better.

1.

https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/APIs/Content/Sense_ClientAPIs/app-int...

 

2.

https://community.qlik.com/t5/Qlik-Sense-Documents/Document-Chaining-in-Qlik-Sense/ta-p/1495402

Please read and try to implement the same.

Do let me know if this works for you!

 

View solution in original post

2 Replies
Vishal_Gupta
Partner - Contributor III
Partner - Contributor III

This seems to be like a document chaining use case.

You can refer to the following links to understand this better.

1.

https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/APIs/Content/Sense_ClientAPIs/app-int...

 

2.

https://community.qlik.com/t5/Qlik-Sense-Documents/Document-Chaining-in-Qlik-Sense/ta-p/1495402

Please read and try to implement the same.

Do let me know if this works for you!

 

eddie_wagt
Partner - Creator III
Partner - Creator III

This answer comes from @Patric_Nordstrom 's post . I believe this is the post . 

Use the button or as URL link field in a table.

http[s]://<machinename | servername>/{virtual proxy}/sense/app/{appid}/sheet/{sheetid}/state/analysis/select/{field}/{value1;value2}

Note:

  • It good practice to url encode any data in the url, see next sheet.
  • Works best with few designated fields which selection should be transferred.
  • This method suits smaller selections, large selections will not fit the url.
  • The receiving app must off course contain the field and the values.

 

='http://localhost:4848/sense/app/C%3A%5CUsers%5Cbps%5CDocuments%5CQlik%5CSense%5CApps%5C__Next%20top%2010.qvf/sheet/78e42aa9-fd99-409f-a891-25cdb9074d0c/state/analysis/' & 
if(GetSelectedCount(Customer)>0,
'select/Customer/[' & concat(distinct Customer,'];[') & ']'
)

 

Code for in the button.

See his example. He provided a QVF for download so you can replicate this for your own requirements.

 

 

Kind regards

Eddie

If this answers your question or solves your issue, be sure to mark the answer as correct by clicking 'Accept as Solution'. This will mark the post as solved and other Qlikkies will gravitate towards this post as it as a possible solution for their issue. Multiple responses can be accepted as a solution so make sure to select all that apply.