What I am trying to do is to land on the actual report after clicking on chart which is rendered on VF page using Iframe. First I have used <analytics:reportChart> tag on the VF page to see the Report Chart based on the suggestion but somehow, it was not working hence went for the option of using iFrame

But now when I click on that chart it gives error.

Embedded VF Page in Iframe: enter image description here

zChartPOC Page: enter image description here

Report Chart showing as below: enter image description here

When I click on any report, it shows below error: enter image description here

Can you please help and let me know how can we achieve this?

  • Have you enabled ClickJack protection? Setup->Security Controls->Session Setting Jan 9 '20 at 10:39
  • I don't want to enable ClickJack as it may affect other things, hence is there any other way to move forward on this, is there any way to get report chart out of Iframe?
    – sfdc rowdy
    Jan 9 '20 at 15:28
  • I'm not sure if there is any other way. Jan 9 '20 at 17:21

There could be a case that ClickJack protections are enabled in your org. Follow this path:

Setup->Security Controls->Session Setting

You need to raise a case with Salesforce to disable it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.