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
rajesh26rajesh26 

configuration

Hello All

   I am new to SFDC. I got a requirement please let me know the possible solution. Here is the req:
I have a custom obj and have MD with the accounts obj and lookup with the contacts obj. When i select a particluar account then it should show only the contacts releated to that account in my custom obj. How can i achieve this ?
 
Best Answer chosen by rajesh26
SonamSonam (Salesforce Developers) 
You can create a lookup filter on the contact lookup:
https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_lookup_filters_defining.htm&language=en
 

All Answers

SonamSonam (Salesforce Developers) 
You can create a lookup filter on the contact lookup:
https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_lookup_filters_defining.htm&language=en
 
This was selected as the best answer
rajesh26rajesh26
Hello 
   Thanks for your reply. I got that. I have one more questio, is there a way to select more than one record in lookup. Say, I have a account(MD) and contact(lookup) from custom obj. Using filters i got the list of contacts related to particular account. Is there a way i could select more than 1 contact in admin ? for that account