You need to sign in to do that
Don't have an account?
Access a Child record from Parent account on visualforce using lookup field.
Access a Child record from Parent account on visualforce using lookup field. For Example
Parent Account : ABC, child Account : 123 ,1A2 ,2B1
My VF page :
<apex:page standardController="Account">
<apex:pageBlock>
<apex:pageBlockSection collapsible="true" title="Filters" columns="1" >
<apex:inputField value="{!Account.name}" />
<!-- Display only Parent Account Name but i want display lookup icon with all child record related to parent account .-->
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
hi,
For this you have to write a controller or an extension from where you can use any object that have a field contact as contact lookup
then override the lookup functionality creating your own custom lookup
Take help from this :http://blog.jeffdouglas.com/2011/08/12/roll-your-own-salesforce-lookup-popup-window/
if any help needed feel free to ping me
good day !