Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!! we have embedded mashups using iframes in our company software. Until now we didn't have any issues with it, but now we want to load different mashups on the same page using two iframes at the same time. When we do that we are getting a "bad request" error. Is there any recommended procedure for having two mashups on different iframes on the same page? where can I find some documentation about how to do this?
Thanks,
Hi @alex_colombo, thanks for your answer, we sent a request to qlik support too and I got this answer:
" is possible to have two mashups using the same session in different iframes embedded on the same page. Please check the below details;
For the iframe you need to pass in the selections using the selection query string parameter. See the doc here:
https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/APIs/Content/Sense_ClientAPIs/single-...
https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/Mashups/Content/Sense_Mashups/SingleI...
https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/Mashups/Content/Sense_Mashups/mashups...
If you are trying to embed more than one iframe on a page you will want to use the identity parameter as well to assign a shared value for both iframes . This will instruct Qlik to use the same session.
https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-for-Windows-All-you-need-to-know-...
"
We didn't test it yet, but I think is the answer to this post. I'll mark it as Solved.
Regards,
Hi @jmITG , could you please share your iframes html tag, screenshots for your browser console errors and also for the browser console network tab with a focus on Qlik resources? What is the authentication method used by the iframes?
Hi @alex_colombo, thanks for your answer, we sent a request to qlik support too and I got this answer:
" is possible to have two mashups using the same session in different iframes embedded on the same page. Please check the below details;
For the iframe you need to pass in the selections using the selection query string parameter. See the doc here:
https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/APIs/Content/Sense_ClientAPIs/single-...
https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/Mashups/Content/Sense_Mashups/SingleI...
https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/Mashups/Content/Sense_Mashups/mashups...
If you are trying to embed more than one iframe on a page you will want to use the identity parameter as well to assign a shared value for both iframes . This will instruct Qlik to use the same session.
https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-for-Windows-All-you-need-to-know-...
"
We didn't test it yet, but I think is the answer to this post. I'll mark it as Solved.
Regards,