Loading

Lookup filter on publisher action does not return expected results

Veröffentlichungsdatum: Oct 13, 2022
Beschreibung
A lookup filter field which has been added to a 'record create' publisher action in an object feed does not return the expected results when the controlling field is not on the action layout.

Example Scenario:
  • 'Contact Name' lookup on Case has been filtered to only return Contacts from the related Account.
  • A 'record create' action has been created on Account to create a new Case. The 'Contact Name' field is on the action layout. 'Account Name' is not on the action layout.

Result: When using the publisher action from an Account to create a new Case, the 'Contact Name' lookup returns only Contacts that have no Account. It does not return Contacts from the Account we are working with.


Note: This is an expected behavior. The lookup filter needs to know which Account the new Case will be related to, and this information is not loaded in the user interface when the Account Name field is not on the action layout.

 
Lösung


Add the controlling field(s) for the lookup filter to the action layout (For example, in the scenario above, the 'Account Name' field needs to be on the action layout for the 'Contact Name' lookup to filter correctly).


See also
Lookup Filters

Considerations for Lookup Filters

Nummer des Knowledge-Artikels

000382670

 
Laden
Salesforce Help | Article