Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
124psu
Creator II
Creator II

document chaining qlik sense

Hi All -

I created a similar post to "New to Qlik Sense" but no luck there. I was hoping my question is suitable to place in this thread.

I have 2 separate apps (although similar data with common field names) and would like to pass filter pane values from one app to another. I followed this guideline from Ajay (https://community.qlik.com/t5/Qlik-Sense-Enterprise-Documents/Document-Chaining-in-Qlik-Sense/tac-p/...).

I have it all set up exactly how he instructs in his thread but once I click my newly set up button to send values through the filter pane to another app, I get a Qlik Sense error (The resource could not be found). I also noticed the URL I grab from the dev hub shoots me to an actual web page. I also noticed when I play with my URL it actually does send me to the sheet of the app I wanted, but I see no values passed over. On top, the pivot table is static and will not scroll up or down.

Are there any extensions that stays within Qlik Sense? Hoping someone can route me to the right direction with my problem.

Much appreciated.

Labels (2)
1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi 

you can use this expression it'll do the trick 

='https://sense.qlikil.net/sense/app/b51c8aee-b7cd-424e-af63-be1b60888342/sheet/PfKsJK/state/analysis/...
GetCurrentSelections(']/select/','/[','];[',50) & ']'

of course you need to replace with your server name and app and sheet id 

View solution in original post

14 Replies
lironbaram
Partner - Master III
Partner - Master III

hi 

you can use this expression it'll do the trick 

='https://sense.qlikil.net/sense/app/b51c8aee-b7cd-424e-af63-be1b60888342/sheet/PfKsJK/state/analysis/...
GetCurrentSelections(']/select/','/[','];[',50) & ']'

of course you need to replace with your server name and app and sheet id 

124psu
Creator II
Creator II
Author

Hi, just to clear up some ambiguity on my end, this is my URL that is receiving the passed values from another app. I got this URL by going into the DEV HUB and into 'single configurator' and selecting my app and the sheet I want to pass values over.

http://localhost:4848/single/?appid=C%3A%5CUsers%5Candrew%5COneDrive%20-%20CACA%5CDocuments%5CQlik%5CSense%5CApps%5Cefc%20transaction.qvf&sheet=395685aa-7027-4f88-a9d3-7f7c67cc40a6&opt=nointeraction&select=clearall

So I took this URL, following the instructions and have an updated syntax of:

'http://localhost:4848/single/?appid=C%3A%5CUsers%5Candrew.so%5COneDrive%20-%20CACI%5CDocuments%5CQlik%5CSense%5CApps%5Cefc%20transaction.qvf&sheet=395685aa-7027-4f88-a9d3-7f7c67cc40a6' & '/select/'& GetCurrentSelections('/select/','/',';')

I am beginning to think my issue is arising from the URL piece. As in your URL, I see /state/analysis/... I actually do not have that embedded in the given URL from the DEV HUB. I manually added that piece as well and still no luck with properly passing values over. Let me know if you have any additional thoughts on this. Much appreciated for the feedback!

lironbaram
Partner - Master III
Partner - Master III

hi 

why to you want to use this url and not the straight forward url in my example 

if you want to jump from one app to the other my url is the right one to use ,

your url is used to put qlik object inside iframes

ajaykakkar93
Specialist III
Specialist III

Clear me this,
Do you want to show object from Single configurator?

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

ajaykakkar93
Specialist III
Specialist III

Hi,

You can use this Solution also.

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

ajaykakkar93
Specialist III
Specialist III

Do you selected content has special char?

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

124psu
Creator II
Creator II
Author

Hi Lironbaram,

So I have updated my url to match what you have mentioned. I am still getting an error. 

new syntax:

'http://localhost:4848/single/?appid=C%3A%5CUsers%5Candrew.so%5COneDrive%20-%20CACI%5CDocuments%5CQlik%5CSense%5CApps%5Cefc%20transaction.qvf&sheet=395685aa-7027-4f88-a9d3-7f7c67cc40a6'& '/state/analysis/' & GetCurrentSelections(']/select/','/[','];[',50) & ']'

I added the '/state/analysis/' portion since my url did not include those strings. It seems like it should have been there but there is not. When I use this syntax all looks good if I bring in a separate text box just to make sure my values are being picked up. Also, my destination URL is within my qlik sense desktop, hence the 'localhost:4848', but it still routes me to the web browser and I am left with the same error message of 'no resources found'

124psu
Creator II
Creator II
Author

Hi Ajay, 

I would like to pass values from many filter panes from App #1 to App #2. So If I have fields that have State, City, Country, Year, etc. the users will select those values, and once they press the button, it will send them over to App #2 with those same values intact. I followed your instructions on your thread but am still running into trouble. 

-------- Updated --------

So I have updated my url to match what you have mentioned. I am still getting an error.

new syntax:

'http://localhost:4848/single/?appid=C%3A%5CUsers%5Candrew.so%5COneDrive%20-%20CACI%5CDocuments%5CQlik%5CSense%5CApps%5Cefc%20transaction.qvf&sheet=395685aa-7027-4f88-a9d3-7f7c67cc40a6'& '/state/analysis/' & GetCurrentSelections(']/select/','/[','];[',50) & ']'

I added the '/state/analysis/' portion since my url did not include those strings. It seems like it should have been there but there is not. When I use this syntax all looks good if I bring in a separate text box just to make sure my values are being picked up. Also, my destination URL is within my qlik sense desktop, hence the 'localhost:4848', but it still routes me to the web browser and I am left with the same error message of 'no resources found'

124psu
Creator II
Creator II
Author

Hi Ajay,

I was finally able to get my button to push users to a new app. I got the correct URL by going into the browser hub. My URL looks something like this. 

'http://localhost:4848/sense/app/C%3A%5CUsers%5Candrew.so%5COneDrive%20-%20CACI%5CDocuments%5CQlik%5CSense%5CApps%5Cefc%20transaction.qvf/sheet/395685aa-7027-4f88-a9d3-7f7c67cc40a6/state/analysis'
&
'/select/' & GetCurrentSelections('/select/','/',';')

Now my new issue is that none of the filter pane values (selections) are being pushed to the new app. It doesn't take into account the pre selected values in the filter pane. You can see in my URL that I have the '/select.... GetCurrentSelections.etc' syntax. Any ideas where I am going wrong on this? Thanks