Creating content

Creating content with required fields
Creating content with required fields

  1. Navigate to the content tab in the left-hand sidebar.
  2. Choose a content model from the collapsible sidebar.
  3. Press "Create item" in the upper-right corner of the page.
  4. Fill out the information required by your content model.
  5. Press "Save" in the sidebar to save your content onto the DRAFT stage or press Save and Publish to save your content onto both the DRAFT and PUBLISHED stages, respectively.

Save and Publish content
Save and Publish content

The content model defines which fields are required and which fields are not mandatory.

GraphCMS allows the set-up of additional content stages (e.g. a QA and/or ARCHIVED stage) depending on your plan.

For content models that have references, you can either connect an existing entry, or create and connect a new one.

Relate existing contentAnchor

  • A popup listing all the possible entries of that model will appear.
  • Press the link icon at the far left of the content entry.

Relate new contentAnchor

  • An in-line content editor window for the selected type will appear.
  • Fill out for the form's fields.
  • Choose to "save" or "save and publish" to create a DRAFT or DRAFT and PUBLISHED entry in the related model. Connecting will happen automatically.

Connecting different types of contentAnchor

If the relation field you're connecting content to is a union type then you can connect to different content type entries.

Add a union type content entry relation
Add a union type content entry relation

Click to add a new or existing entry and select from the list the type of content you want to connect.

Did you find this page useful?

Your feedback helps us improve our docs, and product.