Table of Contentstoc | ||||
---|---|---|---|---|
|
In Contentstack, as a Headless CMS, you work with a relational data management (see “Understanding Contentstack”). A relation between two datasets is called Reference.
...
If you want to publish an entry with references, Contentstack will probably ask you, if you want to publish the entry with or without references. → Normally, you want to publish with references.
As already said, the referenced entries stay independent in regards to their edit and publish status. Technically, if you publish with references, Contentstack publishes multiple entries in one process.
Info |
---|
...
Please refer to “Organize Content in |
...
Contentstack” to learn more about the handling of referenced entries. |
How and where do I edit content?
...
If you want to switch back to the step where you are coming from, use the left arrow or click on one of the breadcrumps.
Reference a new entry in a new entry
Note |
---|
Even if it’s possible to create a new nested Entry into an Entry, we strongly recommend to always create an Entry first and reference the created Entry in another. For every Entry reference in an Entry, Contentstack needs the unique, technical Entry ID. This means that technically multiple steps must be processed and in consequence some unexpected redirects might happen. So, it’s much easier to create first e.g. an Entry of the Content Type “Image” and then create a new Content Block in which you reference this Image. |
If you are just about to create a new entry, e.g. a Web Page, and want to reference a content block for the main content area, you might miss the option to create a new content block:
...
The reason is that Contentstack must know the unique identifier of the entry in which you want to nest a new entry.
...
Tip |
---|
If you miss the option to create a new entry from another entry, please provide the mandatory field values and Save the entry. Now, you find the option “Create new entry”. |
...
If there is an entry referenced, you can either edit this entry or remove the reference to add a new one.
...
To edit the entry, click the
...
icon in the right menu. You will see all referenced entries. click on one to opn and edit it directly.
Note |
---|
If you edit an entry, it will be changed for all places where you have this entry referenced. If you are not sure about the existing references, click the edit icon to open the entry. Then click the left arrow icon on the top right side to see all references. |
...
2) To change the entry reference, click the right icon to remove the reference to the entry. Once this is done, you can add a new reference.
Info |
---|
If you change the reference to an entry, this does not impact the referenced entry. So, if you are not sure if you break something by changing the referenced entry, it might be better to create a new instead. Best Practice: Instead of starting from scratch, you can also copy an entry and adapt the copy to your needs.
|