Table of Contents

Why OpenAI is Transforming Equipment Repair
Why OpenAI is Transforming Equipment Repair
Why OpenAI is Transforming Equipment Repair
Why OpenAI is Transforming Equipment Repair
Why OpenAI is Transforming Equipment Repair
Why OpenAI is Transforming Equipment Repair

Control which related Salesforce records users can select in lookup fields with AGrid. Create context-aware lookup choices based on the record being updated, helping teams make more accurate selections without searching through unrelated records or navigating across Salesforce objects.

AGrid combines Lookup Filters with Grid Filters, inline editing, views, and actions in the same configurable grid. Lookup Filters control which related values users can select, while Grid Filters help narrow which records users are working with.

What Are Lookup Filters in Salesforce?

Lookup filters in Salesforce control which related records are available for selection in a lookup field based on defined criteria.

For example, when a user updates the Contact lookup on a Case, the available Contacts can be restricted to those related to the Case's Account. Instead of searching through unrelated Contact records, the user works with choices that match the current record context.

With AGrid, admins can configure these related lookup filters in Salesforce using fields from the referenced object, static values, Global Variables, and parent lookup values. Multiple conditions can be combined using AND, OR, or Custom Criteria.

Limitations of Native Salesforce Lookup Filtering

  • Too many unrelated lookup choices: Without the right filtering criteria, users may need to search through records that are not relevant to the record they are updating.
  • Related context may require extra navigation: Users may need to open Accounts, Contacts, or other related records to confirm which lookup value is appropriate.
  • Lookup filtering and record filtering are separate needs: Controlling valid lookup selections does not automatically give users a focused working dataset.
  • Relationship accuracy depends on context: The correct lookup value can depend on another field or parent record, making static choices less useful for context-driven workflows.

How AGrid Enables Lookup Filters in Salesforce

Admins select the lookup column where the rule should apply, choose a field from the referenced object, define the operator, and specify the value used to evaluate the lookup records. Values can be static or dynamically sourced from User, Profile, Organization, Custom Metadata, or parent lookup values related to the configured object.

Multiple conditions can be combined using AND, OR, or Custom Criteria, allowing lookup choices to reflect more specific business rules. Admins can also define an error message when no lookup records match the condition.

Example: Case → Account → Contact — When a user updates the Contact lookup on a Case, AGrid can use the Case's Account as context and show Contacts related to that Account.

Features of Lookup Filters in AGrid

Filter Records by Lookup Fields

Configure a lookup field so users only see related records that satisfy the defined criteria when making a selection. Lookup Filters control the selectable values inside the lookup. Grid Filters separately control which rows appear in the AGrid List View.

Search Related Records Quickly

Reduce the amount of unrelated data users need to work through when selecting a reference record. Because AGrid evaluates the configured Lookup Filter criteria first, users work with the related records that meet the rule.

Combine Lookup Filters

Create more precise Salesforce related lookup filters by applying multiple conditions to a lookup field. Admins can combine conditions using AND, OR, or Custom Criteria and use static values or dynamic sources such as User, Profile, Organization, Custom Metadata, and parent lookup values.

Filter Large Salesforce Datasets

Lookup Filters become more useful when paired with AGrid Grid Filters. Grid Filters determine which records appear in the List View and can use fields from the configured object, related parent objects up to five levels, and up to two selected child objects.

Reusable Filtered Views

Combine Lookup Filters with AGrid Managed Views or End-User Views for recurring Salesforce workflows. The view can determine the records and layout users return to, while the configured Lookup Filters continue controlling valid relationship choices when lookup fields are updated.

Inline Editing After Filtering

When a lookup field is configured for inline editing, users can update the relationship directly from AGrid while the Lookup Filter controls which related values are available for selection. Users can continue working with other editable fields without opening each Salesforce record individually.

Benefits of Lookup Filters with AGrid

Faster Record Discovery: Help users get to the right related record faster by reducing irrelevant lookup choices.

Less Navigation: Use parent and current-record context to determine appropriate lookup choices without requiring users to repeatedly open related records for verification.

More Precise Salesforce Views: Give teams more control over both the records they work with and the relationships they create.

Better User Productivity: Move from finding the correct related record to updating Salesforce data without breaking the user's workflow.

No-Code Configuration: Admins can configure Lookup Filters directly from the AGrid Filters tab without creating a separate custom component.

Use Cases for Salesforce Lookup Filters

Sales Teams: Restrict a lookup based on the relevant record context so users work with related values that meet the configured criteria rather than searching through unrelated Salesforce records.

Customer Service Teams: When a user updates the Contact lookup on a Case, AGrid can use the Case's Account to show Contacts related to that Account.

Salesforce Admins: Create related lookup filters in Salesforce using referenced-object fields and dynamic criteria. Rules can use parent lookup values, User, Profile, Organization, or Custom Metadata and can combine multiple conditions.

Operations Teams: Lookup Filters can restrict the available relationship choices based on configured criteria, while Grid Filters can narrow the working dataset using fields from the main object, related parent objects, or selected child objects.

Revenue Operations: Grid Filters can first isolate the records that need attention. Lookup Filters can then help keep related-record selections relevant as users update those records.

Get Started with Lookup Filters for Salesforce Records

Give Salesforce users a more relevant set of related records whenever they make a lookup selection. AGrid lets admins configure the lookup field, conditions, dynamic values, logic, and error handling while users continue working directly from the Salesforce grid.