Add pages to your site

A page is a web page that's linked to your site and adopts its header, footer, and domain for consistency across site content. You can use pages to expand on the purpose of your site with related topics and resources.

Dica:
If your site's layout contains several sections of text and content, consider using pages to organize your material by topic or theme. This helps to maintain loading and performance for your site and gives site visitors the opportunity to peruse content at their own pace.

Key workflow

Before you get started, review this recommended workflow for creating and sharing pages as part of a site or initiative.

  1. Add a page to a site or initiative by creating a new page or by using an existing page.
  2. Include a page summary and, if necessary, modify the slug for your page's URL.
  3. Add content to the page.
  4. Adjust the page's sharing controls.
  5. Add a menu link for the page to your site's header.

Create a page

You can create unlimited pages and add the same page to more than one site or initiative so that relevant content is available in multiple places.

  1. Open a site in edit mode.
  2. On the side panel, click the pages button page.
  3. Click New Page, type a name for the page, and click Next.

    Anotação:

    The name you provide is also used to automatically generate the page URL. Spaces are replaced with hyphens and all special characters are removed. Each page URL is preceded with /pages/. To edit the URL, see Edit page URL.

  4. Click Save.
  5. A Hub Page item is added to ArcGIS Online and automatically shared with the site's or initiative's core team group and content group. For more information on who can view and edit a page, see Sharing pages.
  6. Next, add a summary for your new page, and then add the page as a menu link to your site.

Open a page in edit mode

To edit a page, follow these steps.

From a browser window

To open a page in edit mode from your browser, complete the following steps:

  1. Open the page's URL in a new browser window and click Sign In on the global navigation bar.
  2. Click the edit button edit to open the site editor.

    Anotação:

    To sign in and edit a page, global navigation must be enabled and you must belong to the site's core team, have administrative privileges, or be the original owner of the site or initiative.

From ArcGIS Hub

If global navigation is disabled for a site, you can open the site from ArcGIS Hub:

  1. Sign in to ArcGIS Hub at hub.arcgis.com.
  2. On the Overview page, click Manage under Sites or Initiatives.
  3. Click on the page's site or initiative to open the site editor.
  4. Click the pages button page and choose your page from a list of the site's pages.

From ArcGIS Online

To open site in edit mode from ArcGIS Online, complete the following steps:

  1. Sign in to ArcGIS Online.
  2. Find the page's Hub Page item under Content.
  3. Click the item to open its item details page and click Configure App.

Add an existing page

You can add a page that you've created for another site or initiative or a page that has been shared with your core team or organization. You can also add publicly shared pages.

Anotação:

Pages added to more than one site or initiative are not automatically shared with the current site's content group and core team group, so they will not appear in your site's search results or when using your default groups to populate a gallery card.

  1. Open a site in edit mode.
  2. On the side panel, click the pages button page.
  3. Click Link Page, click the page's name, and choose Select.
  4. Optionally, update the page's slug.
  5. Click Link Page.

    To view the page, click its name in the side panel listed under Home.

Include a page summary

A page's summary appears in search results and when sharing a link to the page on social media.

Anotação:

Pages are discoverable in a site's search results in the Documents collection. Only people who have access to pages (members of the core team, your organization, or the public) can view pages in search results.

  1. In edit mode for a site, click the pages button page.
  2. In the list of pages, click the page you want to edit.
  3. Click Page Info.
  4. Type a summary in the Page Summary text box.
  5. Click Save.

Edit page URL

The text at the end of your page's URL is called a slug. It can be modified to help you achieve a consistent web experience that aligns with your organization's existing standards.

The full page URL is in the following format: data.[your-org].opendata.arcgis.com/pages/[your-page].

  1. In edit mode for a site, click the pages button page.
  2. In the list of pages, click the page you want to edit.
  3. Click Page Info.
  4. Type a slug in the Page Slug text box.
  5. Click Save.

Add content to a page

To add content to a page, ensure that the item or items that you want to display on the page have been added to your site's or initiative's content library. For more information on adding content, see How do I add content.

Once you've confirmed that your content has been added to the content library, you can use drag-and-drop cards to design the layout of a page in the same way that you can design the layout of a site.

Anotação:

You cannot edit the header or footer of the page because these are inherited from the page's site.

  1. In the side panel, click the pages button page in the upper right corner.
  2. In the list of pages, click the page you want to edit.
  3. In the page editor, drag a row card onto the page's layout to start designing your page.

    Dica:
    Certain cards, including the gallery card, automatically populate with applicable items shared to the site's or initiative's content group or core team group (content library). If you want to add additional items to a page, use manual selection if the card supports it or add the item or group using the site's content library. Note, however, that only items shared in the site's content library are discoverable in a site's search results.

  4. Ensure that the content displayed on the site is shared with the appropriate audience. For more information, see Adjust sharing controls.
  5. Click View to preview the page.
  6. Click Save.

Sharing pages

Each page has its own sharing controls so that you can share your page with specific groups, including your core team and supporting teams, your organization, and the public. For more information, see Adjust sharing controls.

Anotação:

You can share a page differently than how its site is shared. For example, you can add a private page to a public site. Only members with whom the page is shared can view the page when signed in to ArcGIS Hub. Content shared on the page, such as web maps and datasets, must also be shared privately.

Add menu links

Add links to a page from a site or other pages using menu links or HTML.

Use menu links

You can add a link for a page to a site using menu links in the site's header. For more information, see Configure global navigation and menu links.

Use HTML

To create a hyperlink to a page, use the HTML <a> syntax to insert the link. If you use a relative path in the <a> tag instead of the absolute path, you will prevent a full page refresh when you click the link.

  1. Add a text card or open an existing card on the page layout and click Code View on the toolbar.
  2. Insert an <a> tag where you want the link to be.
  3. Paste the slug for the page you want to add between the href="" attribute of your <a> tag—for example, <a href="/pages/target-page">Visit the linked page</a>.
  4. Click Save on the edit navigation bar to confirm your changes, and click View to test the new link.
  5. Dica:

    To open the link on a new tab, append target="_blank" directly after your href attribute on the <a> tag.

Unlink a page or delete it permanently

To unlink a page from a site or initiative, click the remove button an "x" next to the page's name on the side panel. The page will remain linked to other sites if it has been added in multiple places.

Anotação:

Removing a page does not delete it. If you want to delete a page, click the delete button a trash can. The Hub Page item will be permanently deleted from ArcGIS Online and any groups to which it was shared.