You need to sign in to do that
Don't have an account?
mavs
inputfield not displaying lookup
I am grabbing Accountid (relatedto) from event Object.
In my VF page instead of displaying lookup, the actual account name is displayed in reonly format.
Cant we display lookup?
Why is lookup not being displayed?
<apex:inputField value="{!ev.AccountId}" /> Event ev=[Select Accountid,whatid from Event limit 1];
If you do this:
<apex:page standardController="event">
<apex:form>
<apex:inputField value="{!event.whatId}" />
</apex:form>
</apex:page>
You get this the screeshot in the attachment. Is that what you want? Note that my sample is with an Oppty but could just as easily have been with an account.
yes i have the permission to that field.
And i am using custom controller.
Any ideas?
Thanks