I'm trying to IFrame a Record from my Project Object to it's Grandchild the Case Object. There is an Object called Related_Doctor that sits in-between.
When I use the below code I get a "salesforce.com refused to connect."
<apex:page showHeader="false" sidebar="false" readonly="true" standardController="Case" tabStyle="Case">
<apex:iframe src="/{!Case.Related_Doctor__r.Project__c}?isdtp=vw" scrolling="true" id="theFrame" />
<script>document.getElementById('theFrame').height = window.innerHeight ;</script>
- I've also confirmed that Clickjack settings are off (see below)
- When I use Chrome's inspect element and open the link referenced for the IFrame in a new tab the pages loads as expected.