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
Anu Raj.ax1269Anu Raj.ax1269 

Restrict contact lookup to show only contacts related to account in case object

Is it possible to filter out only contact related to an account in a case object. When a case is created from account, it has the account field in case populated with the account name/Id. I want to select contact and the lookup should only show contacts related to this account. Is this possible?
I have a filter criteria case: Account Name ID Equals Contact Name : Account Name : Account ID. Event then it is not working.

abhisheksharmaabhisheksharma

Create below filter criteria on Case > Contact lookup field 

Case: Account ID equals Field Contact Name: Account: Account ID

 

Frédéric ProvotFrédéric Provot
Very usefull answer!
I just reformulate like this :

On "Case / Contact" lookup field, modify and create the filter :
Field "Case / Account ID" [equals]  Field "Contact Name / Account / Account ID"

Regards
Chris - ARIChris - ARI
How do I do this on a custom object. Contact Name doesn't exist.

User-added image
NikolaMNikolaM
Did you get any solution @Chris-ARI?
Candace PhelpsCandace Phelps
From what I've found, we can't create filters on Custom Objects. Has anyone found otherwise? 
Matt CzugalaMatt Czugala
How could we set up this filter for when the account is in a heriarchy and the contact is created on the parent (or top parent) account?