• SFDC Admin 21
  • NEWBIE
  • 0 Points
  • Member since 2014

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

Hi Fellow Developers,

I have created a visualforce page which I'm rendering as PDF. The page header looks like this:

<apex:page Standardcontroller="Opportunity" extensions="RFController" standardStylesheets="False" showHeader="False" sidebar="False" cache="True" renderAs="PDF" docType="html-5.0" contentType="application/pdf">

The page displays perfectly in the standard Salesforce org.

However if I try to display the same page in the the Salesforce1 App by calling the page from a custom button on Opportunity with content source set as the Visualforce page, the page doesn't render and the animated circular fetch gif keeps moving. Screenshot below:

User-added image

The page never loads. 

Additional Info: I also tried the same thing by creating an empty Visualforce page, with renderAs="PDF" but to no avail.

I also noticed when I press the back arrow on the app, the pdf shows for a fraction of a second and the view shifts back to the Opportunity record.

Please help out if anyone has a clue about this. Thank you very much

Hi Fellow Developers,

I have created a visualforce page which I'm rendering as PDF. The page header looks like this:

<apex:page Standardcontroller="Opportunity" extensions="RFController" standardStylesheets="False" showHeader="False" sidebar="False" cache="True" renderAs="PDF" docType="html-5.0" contentType="application/pdf">

The page displays perfectly in the standard Salesforce org.

However if I try to display the same page in the the Salesforce1 App by calling the page from a custom button on Opportunity with content source set as the Visualforce page, the page doesn't render and the animated circular fetch gif keeps moving. Screenshot below:

User-added image

The page never loads. 

Additional Info: I also tried the same thing by creating an empty Visualforce page, with renderAs="PDF" but to no avail.

I also noticed when I press the back arrow on the app, the pdf shows for a fraction of a second and the view shifts back to the Opportunity record.

Please help out if anyone has a clue about this. Thank you very much