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
Praveen SappatiPraveen Sappati 

Unable to create standard campaign lookup in Lead visualforce page



I have created the Lead visualforce page in that i tried to keep Standard Campaign Lookup in that page but it showing error message "Invalid field Campaign for SObject Lead".


Also i have seen the lead standard fields in that there is satandard campaign field. 




<apex:inputfield value="{!lead.Campaign}"/>


What's wrong with this can any one help me.

Ritesh AswaneyRitesh Aswaney

I wouldn't have thought Campaign was a standard field on Lead.

Praveen SappatiPraveen Sappati

Thanks for reply


but i am able to see the standard campaign field in Lead.





Praveen Sappati