Edit a link field in Pages

Abstract

Use Horizon Pages to create a link from a page to Sitecore content or an external URL.

In a general link field in Horizon Pages, you can insert one of the following types of links:

  • An internal link - to a page in your Sitecore instance

    Note

    When you create an internal link, Sitecore uses the item ID to identify the item. This means that the link is not broken if you rename the item or restructure your site.

  • An external link - to a URL outside your site

To edit a link:

  1. Select the link field in the content area. In the right hand pane, in the Link type field, click the drop down menu and select the link type:

    • Internal - to link to a page on your site

    • External - to link to a URL outside your site

  2. In the Link text field, enter the text that you want to appear as a hyperlink in your published content.

  3. Specify what you want to link to:

    • For an internal link, click Browse and select the page that you want to link to and then click Add link.

      Note

      When you select a page, if Context language is selected in the language selector, then no language parameter is saved with the link. The link will open the specified page in the language that is current when a visitor clicks the link.

      Similarly, if you select Context site in the site selector, then no site parameter is saved with the link, and the site that is linked to depends on the location of the page in the content tree and how your sites are configured.

    • For an external link, enter the URL in the URL field.

  4. Edit the remaining fields as needed.

    Field

    Usage

    Link title

    Text displayed in a tooltip when a visitor hovers the cursor over the link.

    URL query string

    Parameters for the URL, such as language and site.

    Anchor

    To link to an anchor on an internal page, enter the anchor ID. (You must also insert the anchor.)

    Open in new window

    Select this option if you want the browser to open a new tab or window when a visitor clicks the link.