Using named relationships, you can add relationships between pages in your website's content tree. Page relationships allow your site's developers to:
- Display related pages on pages using listing web parts or controls
- Work with connections between pages in your custom logic (API)
Defining page relationship types
Before connecting pages using relationships, you need to set up the relationship types (names) in the system. There are no restrictions on the number of different relationship types between pages.
- Open the Relationship names application.
- Click New relationship name.
- Type a Display name for the relationship type.
- Set the Type to Pages.
- Click Save.
- Switch to the Sites tab and add all sites where you wish to use the relationship.
You can now create relationships of the given type between pages.
Creating relationships between pages
To connect two pages through a relationship:
- Open the Pages application.
- Select one of the pages in the content tree.
- Switch to the Properties -> Related pages tab.
- Click Add related pages.
- Choose the Relationship name (type).
- Select the other related page on the right side of the relationship (type the alias path or click Select page).
- Click Save.
The two pages are now related. The relationships are not symmetric – each relationship has one of the pages on the left side and the other on the right. Add any number of relationships to pages.
Note that creating and removing relationships between pages is not a versioned operation. That is, changes to the relationships are immediately reflected on the published version of the pages.
Was this page helpful?