salesforce - Expanded lookup in Tasks for a custom object in Visualforce -
i'm new @ this, appreciate help. trying create expanded lookup field activities (tasks) page since in visualforce. want lookup custom object called telemarketers.
here's have far , can't seem make work!
<apex:page standardcontroller="task"> <apex:form > <apex:inputfield value="{!task.telemarketer.name_c}"/> </apex:form> </apex:page>
i've tried changing {!task.telemarketer.name_c} other things keep getting errors " invalid field telemarketer sobject task" "could not resolve field 'telemarketername_c' value binding '{!task.telemarketername_c}' in page sample1 " "could not resolve field 'telemarketername' value binding '{!task.telemarketername}' in page sample1 "
help please!! im going crazy
following observations
1) not sure if using id on apex page url should - https://c.ap1.visual.force.com/apex/test?id=00t90000010utkc id required since trying input field of particular record.
2) regarding field names, please select api name of field in visualforce page.
eg. code here
<apex:page standardcontroller="task"> <apex:form > <apex:pageblock title="my content" mode="edit"> <apex:pageblocksection title="my content section" columns="2"> <apex:inputfield value="{!task.status}"/> <apex:inputfield value="{!task.whoid}"/> </apex:pageblocksection> </apex:pageblock> </apex:form> </apex:page>
Comments
Post a Comment