Web Studio is here! An enhanced experience to make it easier to create, preview, and collaborate on your website contentLearn More
Linked Content is a powerful, Agility-exclusive field type that enables you to link to other content items within the content you’re creating.
There are two main types of Linked Content: Shared Content and Child/Nested Content. The graphic below illustrates the different options available when using this field type.
Right click to open in a new tab and view the full image.
When creating a Linked Content field, the goal is to store the reference name of the content list you want to link to in this field.
The possibilities may seem overwhelming at first, but once you grasp the basics, you'll be an expert in no time. Let’s start by exploring Shared Content and the choices available.
This Linked Content type should be used when the content you want already exists in a Content List within your Agility Instance.
A couple of Example Use Cases:
Select this option when you want to embed or link to an entire list of content that already exists within your Agility Instance.
Select this option when you want to link to one or more items that already exists and store the IDs of those items in this new item on another field, usually hidden.
Each of these options also has a number of choices you have to make when linking to them. Let's take a look at the choices you might be presented with and what they mean.
Content Selection - Determine which list we’ll be linking to
Specific Content List - Specify the particular list you’ll be linking to
User Selectable – Allow the Editor creating the content item to
select the list they want to link to. The options for that list are
determined by the model selected above.
Render UI - Determines the user experience for selecting new items from the list.
Content Reference – Select which list you want to link
Content Model - Select which Content Model will be used for this field.
Show Embedded View of List - Renders a mini list-view of the linked content list, otherwise renders a link to the content list.
Visible Columns – Choose the fields you want to show in the list. All text, number and date fields in the selected model will be available to chose from as well as Modified By, Modified Date, State, Pull Date and Release Date.
Sortable – Determine the default sort for the list
Save Text to Field - Saves the value in the visible column field of the select item(s) to a field on this item. Useful for showing the selected values in a content list grid.
Save Value to Field - Saves the content ID from the selected item(s) to a field on this item. Can be a number field for a dropdown list but is otherwise a text field.
Next let's take a look at Child / Nested Content.
Use this option when you want to create a new content list that’s unique to each item created using this content model.
A Couple Example Use Cases:
Like we did with Shared Content, let's take a look at the choices you might be presented with and what they mean.
Content Model – Pick the content model that you want to link to. Every item you create will use this model.
List or Item? - Chose whether you want to create as a list or single item
Show Embedded View of List - Renders a mini list-view of the linked content list, otherwise renders a link to the content list.
Visible Columns – Choose the fields you want to show in the list. All text, number and date fields in the selected model will be available to chose from as well as Modified By, Modified Date, State, Pull Date and Release Date.
Sortable – Determine the default sort for the list
As you can see, there are countless possibilities when using Linked Content in your models. It can greatly enhance your content editors' workflow, improve content creation efficiency, enable relationships between existing content, and even allow for nested content lists specific to an item.
Each person’s approach to using Linked Content will vary based on their site architecture needs. Don’t hesitate to experiment and see what works best for you—and feel free to reach out to your Agility team with any questions.
Further Reading