Hyperlink fields in Salesforce allow users to store and display URLs as clickable links within records. Despite their usability, Hyperlink fields have a limitation when it comes to using them as filter criteria in queries. Users are unable to directly use the equal (=) sign to filter records based on the content of Hyperlink fields.
Syntax: HYPERLINK(url, friendly_name [,target])`
[url] is the Web address, [friendly_name] is the link text, and [target] tells the window or frame in which to display the content.
If you have a formula custom field that contains a `HYPERLINK` function, the server generates an HTML anchor for the link. For example, this function: `HYPERLINK("/apex/VF_TEST", "VFLINK",'_self')` generates this HTML output: `<a href="/apex/VF_TEST" target="_self">VFLINK</a>`.
Unlike other field types, such as text fields or date fields, where the equal (=) operation is straightforward, the Hyperlink field has its own internal storage format. As a result, it cannot be directly used as filter criteria when querying or filtering with an equal ('=') sign or operator.
This article explains how to filter on Hyperlink fields in SOQL, Reports, and List Views despite the equal (=) operator limitation.
Use the LIKE or CONTAINS operator in queries to filter records based on partial matches within the Hyperlink field's content. This is particularly useful when searching for specific keywords within the hyperlink descriptions.
000396201

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.