Print this page

Create Lookup Filters for Distance

Knowledge Article Number 000220083
Description Available in: Enterprise, Performance, Unlimited, and Developer Editions

 To improve user productivity and data quality, the ability to use lookup filters to restrict valid values and lookup dialog results is invaluable. Learn how you can now create lookup filters with distance criteria for location and address data types with the Metadata API
Resolution You can filter based on distances that are within or not within given ranges.

 You can’t create distance-based lookup filters in the Salesforce user interface. Instead, use the Metadata API’s lookupFilter field on the CustomField metadata type. For information on lookupFilter fields and their subfields, see “CustomField” in the Metadata API Developer's Guide.


For information about the benefits of lookup filters, see About Lookup Filters.
 




promote demote