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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Custom modules