Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form
The Reference field is a Collection field that you can add to any of your Collections. This powerful field allows you to link to an item in a different Collection. You can then use the referenced item’s content in Collection Lists and Collection Pages. In this video, we'll discuss some common uses of the Reference field, then show you how to make the most of it in your designs. To reference multiple items from a different Collection, use the Multireference field.
Want to follow along with this lesson? Fortunately, we created a zip file which contains all the assets used in the project, and we've included that linkright here
A Reference field is really simple and enormously powerful. The simple part is that it lets us reference fields from an item in another collection.
Why is that important? If we have a blog collection, we already know that a collection list or collection page gives us access to the items in that collection. A reference field? This lets us grab content from another collection.
And here's the powerful part: We have two collections in our project (Blog Posts and Authors). When we write a blog post, we don't want to have to do the bio, and the picture, and the name for that matter — each and every time we write a new blog post. These are all fields which we could create and populate in our Authors collection.
Back in our Blog Posts collection? When we add a Reference field? We're simply granting access to the Authors collection. And when we're creating a blog post? The Reference field will let us select the author in that collection.
And how do we build with this? We still build using our Blog Posts collection, but because we're referencing the Authors collection, we can build with those fields as well.
So. Reference fields. With them, we can reference fields from items in another collection.
Thanks for the feedback! This will help us improve our content.
Something went wrong while submitting the form. Please contact firstname.lastname@example.org