You need to sign in to do that
Don't have an account?
khushbu dubey
is it correct code?
<apex:page standardController = "lead"> <apex:pageBlock> <apex:pageBlockSection title= "lead inform" columns= "1"> <apex:outputField value= "{!lead.Campaign.Name}"/> <apex:outputField value= "{!lead.annualrevenue}"/> <apex:outputField value= "{!lead.address}"/> <apex:outputField value= "{!lead.donotcall}"/> <apex:outputField value= "{!lead.email}"/> </apex:pageBlockSection> </apex:pageBlock> </apex:page>
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_lead.htm
Please change you code like below
I see you are doing same mistake again and again for field API name on VF page. Please try below code to get All object API.
http://amitsalesforce.blogspot.in/2015/11/apex-describe-dynamic-retrieval-of.html
Let us know if this will help you
Thanks
Amit Chaudhary