Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › How to fix lookup filter issue which turns into picklist in Salesforce?

    Tagged: Account Name, Customer Portal, Fields, Lightning Experience, Lookup Fields, Lookup Filter, Picklist, Relationship Field, Salesforce API, User Permissions, Validation Rules, Visualforce Page

    • Salesforce® Discussions

      How to fix lookup filter issue which turns into picklist in Salesforce?

      Posted by Prachi on December 10, 2019 at 6:09 PM

      I have one input field for lookup in vf page and there is look filter on this. It is working in generally, however when I enter some text in the lookup and click next then lookup turns into picklist and suggest all the value related to entered text, I want is only value related to filter to show. Is there any way to get solution.

      Deepak replied 6 years, 10 months ago 2 Members · 1 Reply
      • Account Name
      • Customer Portal
      • Fields
      • Lightning Experience
      • Lookup Fields
      • Lookup Filter
      • Picklist
      • Relationship Field
      • Salesforce API
      • User Permissions
      • Validation Rules
      • Visualforce Page
    • 1 Reply
    • Deepak

      Member
      December 11, 2019 at 2:57 PM

      Considerations for Lookup Filters
      REQUIRED EDITIONS AND USER PERMISSIONS
      Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
      Available in: All Editions except for Database.com.

      USER PERMISSIONS NEEDED
      To manage lookup filters:
      Customize Application
      On the Fields page, the   icon indicates all fields with active lookup filters. The   icon indicates that the lookup filter is required.
      The lookup filters you create in Salesforce also appear in the partner portal and Customer Portal.
      Lookup filters are case-sensitive.
      If you convert a required lookup filter with a custom error message to be optional, Salesforce deletes the message.
      If you create a lookup filter that invalidates an existing value for that field, the value persists. However, when a user edits the record, Salesforce displays an error message and requires the user to change the invalid value before saving.
      You can’t save changes that cause required lookup filters on related records to contain invalid values.
      Versions 16.0 and higher of the Salesforce API support lookup filters. Lookup filters are enforced when you load data through the API.
      If you configure a lookup filter to show inactive users only, the relationship field has no valid options. Inactive users are never valid for relationship fields that point to the User object.
      If you create a filtered lookup on a field that looks up to another object, both objects must be deployed into the organization at the same time.
      Lookup field filters don’t work if the field criteria include a master-detail relationship field.
      Salesforce doesn’t display an error message if the value of a controlling field invalidates the value of a dependent master-detail relationship field.
      Dependent lookups are supported in Visualforce pages.
      In Lightning Experience, a lookup filter doesn’t work if a field referenced in the filtered lookup isn't added to the page layout.
      Spanning Relationships in Lookup Filters
      Filter criteria can include fields directly related to the target object (one level only). For example, on a lookup field pointing to contacts, a lookup filter can reference fields on the account related to the contact via the Account Name relationship field. The lookup field can also reference fields on the contact related to the contact via the Reports To relationship field.

      For required lookup filters, each field referenced on a related lookup object counts against the number of unique relationships allowed for the referenced object, not the source object. For example, the two unique relationships described above count against the number allowed for the Contact object. Optional lookup filters don't count against the limit on the number of unique relationships allowed per object.

      To see which lookup filters affect the limit for a particular target object, from the management settings for the object, go to Related Lookup Filters.
      Lookup Filters vs. Validation Rules
      Validation rules and lookup filters achieve similar ends, but offer different advantages. Use a lookup filter if:

      You want to improve user efficiency by limiting the number of available options in a lookup search dialog.
      You want to improve user efficiency by automating filters on lookup search dialogs that your users manually set.
      Use a validation rule if:

      You're close to the maximum number of lookup filters allowed.
      You must implement a complex business rule that requires you to use a formula. Formulas can reference fields that basic filter criteria can't reference, such as fields on the parent of the source object. Formulas can also use functions. For example, use ISNEW if the rule should only apply on record creation, or ISCHANGED if the rule should apply when a field changes.

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Salesforce Winter '24 Release Notes

    Blog in Salesforce Releases

    Winter '24 is coming! Salesforce prepared a huge pack of various features to help businesses of all sizes. Salesforce releases empower organizations to keep up…

    Consulting, Custom Business Needs, Custom CSS, Custom Error Messages, Customer Feedback
    Sparkybit Oct 25, 2023
    2,188  Views
    experience cloud

    Salesforce Community Cloud Is Now Experience Cloud

    Blog in Others

    A long-expected announcement finally came from Salesforce; Community Cloud has been renamed Experience Cloud. The move to embrace Experience is a purposeful reaction to the…

    Business Result, Business Value, CMS, Collaboration, Community Cloud
    qr solutions Mar 28, 2022
    2,959  Views

    Joining the #TrailblazerCommunity Groups Around your Location

    Blog in Salesforce Trailhead

    As we all know meetup groups for Salesforce is going away and Salesforce has now invited us into their new platform - Trailblazer Community Groups to…

    Certification Trailblazer, meetup, Salesforce, Salesforce Community, Salesforce Ohana
    Guha Dec 31, 2018
    9,335  Views

    Popular Salesforce Videos

    Create a New Marker Layer in Maps | Salesforce Maps

    Create a New Marker Layer in Maps | Salesforce Maps

    Video in Salesforce Training

    Salesforce Maps is a location intelligence and map visualization tool that integrates with your Salesforce CRM, simplifying territory management. With Salesforce Maps you can create territories…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce CRM, Salesforce Video
    Prafull May 10, 2022
    2,165  Views
    Apex Trigger Framework Salesforce

    Apex Trigger Framework Salesforce

    Video in Others

    From Salesforce instructor, Become a Salesforce Expert. See This video, and learn all about Apex Trigger Framework. `Resource: SFDC Panther

    Salesforce Trigger, Salesforce Apex Trigger, SFDC, Salesforce Expert, Framework
    Neha Yadav Nov 13, 2019
    2,658  Views
    How to Get Jobs or Work Outside India? | Salesforce Developer vs Cloud Professional

    How to Get Jobs or Work Outside India? | Salesforce Developer vs Cloud Professional

    Video in Salesforce Stories

    In this Video Shrey covered answers to the three questions which are: 1. How do you find a job in Salesforce as a fresher or…

    Salesforce Training, Salesforce Tutorial, Salesforce Developer, Salesforce Video, Salesforce Learning
    S2 Feb 1, 2022
    1,901  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.