Skip to main content

Links

It is quite easy to generate a clickable link inside the calculation field:

// Reference the "Link" field of your app, which can contain multiple links
const links = @Link;

// Get the first link
const firstLinkUrl = links[0];

// Result is the URL of the first link
firstLinkUrl

Markdown will automatically make a link clickable if it has the correct URL format.

A markdown link does not have the option to open the link in a new tab. We can use HTML for this:

// Reference the "Link" field of your app, which can contain multiple links
const links = @Link;

// Get the first link
const firstLinkUrl = links[0];

// Result is the URL of the first link, opens in new tab
`<a href="${firstLinkUrl}" target="_blank">Click!</a>`