Skip to content

Links

Option Default Purpose
$links [] external systems that columns and actions may link to, by key
public array $links = [
'hr' => ['url' => 'https://hr.example.com/person/', 'target' => 'hr', 'trusted' => true],
'contracts' => 'https://contracts.example.com/',
];
Key of a system Meaning Default
url base address; a string alone is the URL –
target _blank, _self or a tab name _blank
trusted the opened page may reach the Anvil window (no noopener); needed to reuse a named tab false

Only configured systems can be linked; the value is encoded into the path, https is required (http outside production). Mark only systems of your own organisation as trusted.

See Links and Links to pages.