function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Quote PDF Error changing standard controller

I have a custom Quote PDF page created last year before SF came out with their Quote object.  I'd like to edit my page to use it in place of the one SF has but when I try to modify mine to use the standard controller as shown in the VisualForce sample code, <apex:page standardController="Quote__c" showHeader="false" renderAs="pdf">, I get an error that "Quote__c" does not exist.  I've enabled the new SF quote object in my sandbox and renamed my custom quote object.  I've replaced all instances of my custom quote object in my QuotePDF page with "Quote__c" as in the sample so I don't know why it says it doesn't exist. 

Are you sure the standard Quote object is called Quote__c?  The __c suffix usually means a custom object.  


Unfortunately I can't enable Quotes on my sandbox for business reasons, so I can't confirm this.


Have you tried using the IDE schema explorer to confirm the name is correct? 

I tried it both ways - as Quote__c and as Quote and got the same error both times.  The sample visualforce code showed it as Quote__c and that's why I tried that.
Use the IDE schema explorer - that will give you the correct name.

rename the object to quote1__c. It would work.

ISVforce PartnerISVforce Partner

Check the API version, Quote is not supported on older versions. 


Thought may help soomone.