url

To convert a value to a link

With this function, you can display a formula field as an URL field with an internet button. By clicking the button, the URL will open in your local browser.

Adding an object, you can expand the URL with an automatic URL-encoded query component.

There is no validation if the passed content is a valid URL.

Syntax

url(any)

url(any, JSON)

Return

link

Examples

url(myURL) To convert a value to a link

url("https://ninox.com")

Result: The formula field will show the internet address of Ninox with an internet button. By clicking the button, the Ninox website should open. Fingers crossed.

url(myURL, myJSON) To return a link with the content of the JSON object attached in a URL-compliant format.

url("https://ninox.com",{Name: "Frank Bรถhmer"});

Result: https://ninox.com?Name=Frank%20B%C3%B6hmer

See also

phone, which converts a value to a phone value.

email, which converts a given value to an email value.

location, which returns a location value with a given title, latitude, and longitude.

Last updated