Back to Blogs

Working with References in Contentstack Just Got Easier

Dhaval MajithiaJun 25, 2017

Talk to an expert

about something you read on this page

Contact an expert
Publish-draft-references.jpg

In Contentstack, you can reference other content types within a content type. A common example of a "reference" is listing an author or a category within a blog post. You might also include reference info for similar blog posts, images, or videos. 

There is a convention to be followed working with references: If you want to publish an entry that has references to other entries or assets, you should ideally publish all the referenced entries and assets first, and then publish the original entry.

Following this sequence ensures that the published entry has all the required content and is complete. But it’s easy to miss this. Many content editors forget to publish referred entities—especially if there are many references—before publishing the original entry. And the result is an entry with inadequate data and lots of rework.

Our latest update is an attempt to avoid this from happening. We have introduced a new alert window that works as a reminder as well as a tool to publish the unpublished (or draft) referenced entries or assets in a single click.

See It in Action

If you try to publish an entry that has references to other entries and/or assets, you will see a dialog box "Published References." This dialog box contains the list of all the unpublished entries and/or assets that are referred in the entry.

You can then choose the referred entries and/or assets should be published along with this entry. Or you can choose to publish the entry without publishing any referred entities (though it is not recommended). 

When you select the required entries/assets and click the "Publish with References" button, the entry will be published to the selected environment along with all the referenced entries and/or assets. It’s this simple. You don’t have to go back to the actual page of the referenced entries or assets in order to publish them.

About Contentstack

The Contentstack team comprises highly skilled professionals specializing in product marketing, customer acquisition and retention, and digital marketing strategy. With extensive experience holding senior positions in notable technology companies across various sectors, they bring diverse backgrounds and deep industry knowledge to deliver impactful solutions.  

Contentstack stands out in the composable DXP and Headless CMS markets with an impressive track record of 87 G2 user awards, 6 analyst recognitions, and 3 industry accolades, showcasing its robust market presence and user satisfaction.

Check out our case studies to see why industry-leading companies trust Contentstack.

Experience the power of Contentstack's award-winning platform by scheduling a demo, starting a free trial, or joining a small group demo today.

Follow Contentstack on Linkedin

Share on:

Talk to an expert

about something you read on this page

Contact an expert

Recommended posts