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: 
kanagavel
Contributor
Contributor

Integration using iframe tags from Qlik SaaS to Web

I am trying to integrate visuals from Qlik cloud to web page using iframe. We used Web integration ID and added origin domain in Content Security policy (Added domain name : http:mylocaldomain).

But, I am getting the below error while integrating - Refused to frame 'https://hostname.region.qlikcloud.com/' because an ancestor violates the
following Content Security Policy directive: "frame-ancestors 'self' app.pendo.io www.qlik.com
hostname.region.qlikcloud.com localhost:myportnumber domain:portnumber myserver.com".

I also tried this meta tag and it throws same error :

<meta https-equiv="Content-Security-Policy" content="script-src 'self' 'nonce-abc123'; style-src 'self' 'nonce-abc123'; frame-ancestors 'self' localdomain:portnumber hostname.region.qlikcloud.com domain:portnumber myserver.com;">
 
Please help on this 
 
Thanks in advance!!

 

Labels (2)
1 Solution

Accepted Solutions
alex_colombo
Employee
Employee

Hey @kanagavel , you have to enable frame-ancestors from Management Console --> Content Security Policies. Here how to do it.

One extra suggestion is to use qlik-embed for embeddings Apps/sheets/visualizations into your web app. qlik-embed wiil take care of your embedding techniques creating iframes if necessary.

View solution in original post

1 Reply
alex_colombo
Employee
Employee

Hey @kanagavel , you have to enable frame-ancestors from Management Console --> Content Security Policies. Here how to do it.

One extra suggestion is to use qlik-embed for embeddings Apps/sheets/visualizations into your web app. qlik-embed wiil take care of your embedding techniques creating iframes if necessary.