Content relations: Related data

Demo video

The following video is an overview and demonstration of the related content feature:

Overview

Sitefinity CMS enables you to include related content to dynamic modules, built-in modules, and pages. You can relate content to any other content, thus creating complex architectures of structured data that is easily manageable. You can create one-to-one or one-to-many relations between different items. Sitefinity CMS makes it easy to display all related items on the frontend. 

NOTE: You can add related data to the following static modules: News, Events, Blogs, Blog posts, List items, Pages, Images, Videos, and Documents. Related data fields are also available for the dynamic module types and products. 

You add relations between content types by adding Related data custom fields. The custom fields can then be used to create relation between the items of the specified types.

EXAMPLE: Use the Module Builder to create a dynamic module Speakers. The module will store information about different speakers. Create a page where you drop the Speakers widget. Open the Events module and create a custom field of type Related data and Data type Speakers. In the backend, when you create an event item, you see the custom field added. There you can choose a speaker that will be related to the events item. Then, you add the Speakers field to the widget template of the Events widget. When you open the frontend and click an event item, you will see the details of the event item and the link to the speaker’s details. The speaker’s details are displayed on the page you initially created and dropped the Speakers widget on.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Custom modules