Comfortable | Docs
  • Comfortable Documentation
  • Concepts
    • Content Repositories
    • Content Types
    • Documents
    • Assets
    • Content Tree
    • Collections
    • Webhooks
    • Team
    • Locales
  • APIs
    • RESTful API
      • Endpoints
      • API Reference
        • Sorting
        • Filters
        • Localisation
        • Fields
        • Includes
        • Search
      • Query Examples
        • Collections
        • Single Documents
        • Single Assets
        • Sorting
        • Filters
        • Includes
    • Image Manipulation
  • SDKs
    • JavaScript
      • Query Options
      • Query All Documents
      • Query a Collection
      • Query a Single Document
      • Query an Alias
      • Query an Asset
      • Example: Filters
      • Example: Sorting
    • Nuxt.js
    • PHP
      • Query All Documents
      • Query Single Document
      • Query Collection
      • Query an Alias
      • Query an Asset
      • Fulltext Search
      • Query by Fields
      • Query by Type
      • Query by Id
      • Query by Tags
  • Guides
    • Vue Blog Example
  • Legal
    • Legal Notice
    • Privacy Policy
Powered by GitBook
On this page
  • Adding Documents
  • Editing Documents
  • The Writing Room
  • Content Area
  • Sidebar
  • Revisions
  • Drafts
  • Publishing
  • Tags
  • Languages
  • Deleting Documents
  1. Concepts

Documents

PreviousContent TypesNextAssets

Last updated 6 years ago

Documents are content objects and represent an individual entity of data, e.g. a page, a product a single element of a website or a data object for a list. The schema of a document is defined in a .

Adding Documents

At the top right corner of the webapp, you'll find a button with a 'Plus'-icon. On the dropdown menu you can choose from which type you want to create a document.

Editing Documents

The Writing Room

Content Area

All of the fields defined for a content type appear on the left, main part of the Writing Room screen:

Sidebar

The sidebar gives you overview and control over a document:

Revisions

With revisions you can review and restore changes or versions of a document. Click the tab 'Revisions' to view and choose from different versions of your content.

You can preview and restore different versions of a document. If the document is published, you can decide to restore a version as draft.

Drafts

You can create drafts for published documents if the content needs to be reviewed before it gets published, or if you are being interrupted while updating a document.

Draft mode is available when a document has the published state.

Publishing

Switch Button

Control wether a document is published or unpublished by clicking the desired state.

Save the document for the publishing state to take effect.

Scheduled Publishing

Documents, e.g. an event, can be published automatically at a certain point in time. They can also be set to unpublished at a date or time, e.g. a few days after the event was over. Leave the field blank if you do not want to enable an option.

Tags

Tags are used to describe a documents content or purpose. They may also be used as a filter argument to include or exclude documents from collections.

Languages

Deleting Documents

  1. Select documents by clicking their checkbox.

  2. Once you have selected the documents you want to delete, click the 'Trashcan' Button.

  3. Confirm.

This is the place where editors compose and edit documents. It consists of two main parts, the and the .

If you'd like to remove a document from after it was unpublished, simply enable the checkbox 'Unpublish and move to Archive'.

You can filter translatable fields of a language by selecting the corresponding tab on the top of the Writing Room. can be managed in the settings area of a repository.

To delete a document you'll need to move it to the Archive first. You can do this by either (1) choosing it from any or the All Documents view by selecting the corresponding checkbox and clicking the 'Trashcan'-Button. Or (2) while in the Writing Room, open the Save Buttons context menu on the and click 'Move to Archive'.

The Archive collects all of the documents you decided to move their manually, or automatically at a certain point of time, configured in the . To delete a document permanently:

Navigate to 'Archive' by clicking 'Document Archive' on the bottom of the .

collections
Locales
Content Tree
Content Area
Sidebar
collection
sidebar
Writing Room
content type
The language tabs