You need to sign in to do that
Don't have an account?
Vincent Drader 2
Custom Object Controller for VisualForce Page
I am having an issue with a VisualForce page. I am relatively new at coding in visualforce, and have gotten standard pages to work, but this is the first time with a custom object. My custom object API name is "Internal_Request__c", thus, I put <apex:page standardController="Internal_Request__c"> as my controller. Is this correct? I currently get an error called "Error: Unknown property 'Internal_Request__cStandardController.Internal_Request__c'. See below.
Any thoughts?
Any thoughts?
<apex:page standardController="Internal_Request__c" renderAs="PDF" showHeader="false" standardStylesheets="false" applyBodyTag="false" applyHtmlTag="false" >
</apex:page>
And also please check the API name of Custom Object.
If this works then go step by step and add the code, also keep clicking the 'Quick Save' regularly.
Regards,
Mahesh
All Answers
Also also try commenting everything, just save with one <apex:page tag.
Regards,
Mahesh
<apex:page standardController="Internal_Request__c" renderAs="PDF" showHeader="false" standardStylesheets="false" applyBodyTag="false" applyHtmlTag="false" >
</apex:page>
And also please check the API name of Custom Object.
If this works then go step by step and add the code, also keep clicking the 'Quick Save' regularly.
Regards,
Mahesh
Go step by step, keep adding the code and clicking on the 'Quick Save' will give you the exact code which is causing you the error.
Regards,
Mahesh