Skip to main content
Skip table of contents

Link

Name

Type

Description

$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.

  • Parameter: pageTitle

  • Type: String

  • Description: The 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.

  • Parameter: spaceKey

  • Type: String

  • Description: The key of the space where the page is located.

  • Parameter: pageTitle

  • Type: String

  • Description: The 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.

  • Parameter: spaceKey

  • Type: String

  • Description: The key of the space where the page is located.

$link.to

Link

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.