Fields / Formula / function

Hyperlink

A clickable link: the result of a Link formula field.

Syntax

Hyperlink(url, label, opensIn?)

Returns

A link.

Example

Hyperlink("https://maps.google.com/?q=" + BillingCity, "Map", "_blank")

Notes and limitations

Only a formula field whose result type is Link can give one; anywhere else it is refused ("Hyperlink can only be the result of a Link formula field."). The last value is typed as "_blank" (opens in a new tab) or "_self" (the same tab, also when it is left out). The address must start with https://, http://, mailto: or tel:; typed otherwise it is refused, and one built from a field that doesn't is shown as plain text. A blank label shows the address. IF and Case can choose between links. The link shows on the record page, in record lists, Related Records and reports; elsewhere -- the API, exports, email merges, flows and other formulas -- a Link field's value is its address.