Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
ckchouk
Contributor
Contributor

Embedding a Qlik Object in SalesForce failing

QMCScreenshot 2024-02-09 104418.png

I am getting the following error when trying to embed a Qlik object in SalesForce:

Refused to frame 'https://XXX.qlikcloud.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' app.pendo.io XXX.salesforce.com XXX--c.salesforce.com XXX.my.salesforce.com XXX.lightning.force.com XXX--c.visualforce.com visualforce.com force.com salesforce.com".

Attached is the Content Security Console in QMC as it is now.

Code in VisualForce page in SalesForce:

 

<apex:page standardController="Account" tabStyle="Account">
<apex:pageblock >
    <div style = "display: inline;">     
              <apex:iframe src="https://XXX.us.qlikcloud.com/single/?appid=b7c3066b-26d5-43d6-af1c-58d7d77c2c36&obj=3db734d1-4973-4ba1-bf81-5d4026c4065a&bookmark=d2a083a3-9510-438d-8edc-baa9b637595b&opt=currsel%2Cnointeraction&select=clearall&select=Sales%20Ship%20To%20Customer%20Number,{!Account.SAP_Customer_Number__c}" frameborder="0" width="100%" height="900"  />
   </div>
    </apex:pageblock>
</apex:page>

 

Labels (2)
1 Reply
alex_colombo
Employee
Employee

Hi @ckchouk , can you confirm that your salsefore hostname is present as origin in Content Security Policy section? We have to insert the SF hostname which is embedding Qlik sense visualizations.