Skip to main content
Skip table of contents

Link

NameTypeDescription
$link.blog()String

The relative link to the blog in the current space, or #notfound if the space could not be found or blog posts are not enabled, or null if the user does not have the necessary permissions.

$link.page(pageTitle)String

The link (relative if possible) to the page with the specified title in the same space, or #notfound if the page could not be found, or null if the current user does not have view permissions.

ParameterTypeDescription
pageTitleStringThe title of the page.
$link.page(spaceKey, pageTitle)String

The link (relative if possible) to the page with the specified title, or #notfound if the page could not be found, or null if the current user does not have view permissions.

ParameterTypeDescription
spaceKeyStringThe key of the space where the page is located.
pageTitleStringThe title of the page.
$link.space(spaceKey)String

The link (relative if possible) to the home page of the specified space, or #notfound if the space could not be found or does not have a home page, or null if the current user does not have view permissions.

ParameterTypeDescription
spaceKeyStringThe key of the space to link to.
$link.toLink

This helper object. Allows syntactic enhancements like $link.to.page("My Page") instead of$link.page("My Page").

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.