• Mark Barclay
  • NEWBIE
  • 30 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi,

Has there been any changes in Summer 15 to stop iFrames showing a PDF document or indeed any URL??

We have a visualforce page that displays a Quote PDF document in an iFrame - this was working well until the Summer 15 upgrade. Now it no longer shows anything in the iFrame.

Visual Force Page Code below.

<apex:page controller="SomeController" tabStyle="Quote"  action="{!initSomeViewer}">

 <apex:sectionHeader title="Quote Viewer" subtitle="Quote Viewer"/>

    <apex:form >
     <apex:pageBlock title="Confirmation">
      <apex:iframe src="salesforce link to PDF" scrolling="true" id="quoteIframe"/>
          <apex:pageBlockButtons >
              <apex:commandButton action="{!saveEmailQuote}" value="Save and Email"/>
              <apex:commandButton action="{!cancel}" value="Cancel"/>
          </apex:pageBlockButtons>
          <apex:pageBlock id="msgs" rendered="true">
             <apex:pageMessages />
          </apex:pageBlock>
      </apex:pageBlock>  
    </apex:form>

</apex:page>
Hi,

Has there been any changes in Summer 15 to stop iFrames showing a PDF document or indeed any URL??

We have a visualforce page that displays a Quote PDF document in an iFrame - this was working well until the Summer 15 upgrade. Now it no longer shows anything in the iFrame.

Visual Force Page Code below.

<apex:page controller="SomeController" tabStyle="Quote"  action="{!initSomeViewer}">

 <apex:sectionHeader title="Quote Viewer" subtitle="Quote Viewer"/>

    <apex:form >
     <apex:pageBlock title="Confirmation">
      <apex:iframe src="salesforce link to PDF" scrolling="true" id="quoteIframe"/>
          <apex:pageBlockButtons >
              <apex:commandButton action="{!saveEmailQuote}" value="Save and Email"/>
              <apex:commandButton action="{!cancel}" value="Cancel"/>
          </apex:pageBlockButtons>
          <apex:pageBlock id="msgs" rendered="true">
             <apex:pageMessages />
          </apex:pageBlock>
      </apex:pageBlock>  
    </apex:form>

</apex:page>
Hi,

Has there been any changes in Summer 15 to stop iFrames showing a PDF document or indeed any URL??

We have a visualforce page that displays a Quote PDF document in an iFrame - this was working well until the Summer 15 upgrade. Now it no longer shows anything in the iFrame.

Visual Force Page Code below.

<apex:page controller="SomeController" tabStyle="Quote"  action="{!initSomeViewer}">

 <apex:sectionHeader title="Quote Viewer" subtitle="Quote Viewer"/>

    <apex:form >
     <apex:pageBlock title="Confirmation">
      <apex:iframe src="salesforce link to PDF" scrolling="true" id="quoteIframe"/>
          <apex:pageBlockButtons >
              <apex:commandButton action="{!saveEmailQuote}" value="Save and Email"/>
              <apex:commandButton action="{!cancel}" value="Cancel"/>
          </apex:pageBlockButtons>
          <apex:pageBlock id="msgs" rendered="true">
             <apex:pageMessages />
          </apex:pageBlock>
      </apex:pageBlock>  
    </apex:form>

</apex:page>