Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Page Tree

In Contentstack, as a Headless CMS, you work with a relational data management (see “Understanding Contentstack”). A relation between two datasets is called Reference.

...

(a) “Choose an existing entry”
If you click this option, Contentstack provides you with a selection of possible Content Types and Entries to select. Once you selected an entry, the reference will be created between the selected entry and the entry where you are coming from.

(b) “Create a new entry”
If you click this option, Contentstack forwards you to the related Content Type’s form to create and store your desired piece of content. Once you store the new entry, it will be automatically related (= referenced) to the entry where you are coming from.

...

(warning) 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 Contenstack” to learn more about the handling of referenced entries.

Where am I when editing content?

When you click the edit icon next to a referenced entry, Contentstack will forward you to the edit form of this entry. If there are unsaved changes in the entry you are leaving, Contentstack will ask you if you want to save the changes.

If you are not sure where you are, have a look on the top left of the form. There you can see the name of the currently displayed entry (either the title or the internal name, depending on the content type) and the name of the content type itself

...

If you want to switch back to the step where you are coming from, use the left arrow.

Reference a new entry in a new entry

...

Warning

If it’s still not possible to create a new entry, you might not have the permissions to create entries of this content type.

Change or edit a referenced entry

If there is an entry referenced, you can either edit this entry or remove the reference to add a new one.

...

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.

Instead of starting from scratch, you can also copy an entry and adapt the copy to your needs.
Just search for the entry in Contentstack, open the context menu at the right (three dots) and click copy.

Where am I when editing content?

When you click the edit icon next to a referenced entry, Contentstack will forward you to the edit form of this entry. If there are unsaved changes in the entry you are leaving, Contentstack will ask you if you want to save the changes.

If you are not sure where you are, have a look on the top left of the form. There you can see the name of the currently displayed entry (either the title or the internal name, depending on the content type) and the name of the content type itself

...

...


If you aim at copying an entry and to edit the copy, please follow these steps:

  1. Leave the entry that you are currently editing. Take care to save you current status!

  2. Click “Content” in the main menu

    Image Added

  3. Select the Content Type where you can find the Entry you want to copy. E.g. go to “Web Page” if you want to copy a web page.

  4. Search for the desired entry. Above the list you find a search field. This might help you especially if there is a very long list.

  5. To create the copy, you have two options:

    1. Hover over the row in the list view. At the right side an icon appears with three dots. Click the icon to open a context menu. In the context menu click “copy”

      Image Added

    2. Click the entry to open the detail view. At the bottom, you find a “more” button. Click the button to see the options and click “copy”.

      Image Added

  6. The detail view of the copy opens and you can do all changes you need.

Just search for the entry in Contentstack, open the context menu at the right (three dots) and click copy.