Skip to main content

Create New Document

Create new document

  • From the Documents View, click New Document.

Figure 1. Create new document

  • Edit the new document:

Figure 2. Edit the new document

  • 1 - Enter document ID - see the examples below.

    • Any collection name can be entered as a prefix.
    • The collection name will be created if it doesn't exist yet.
    • If no collection name is specified, i.e. the ID string doesn't end with ( / ) or ( | ),
      then the document will be added to the @empty collection.
  • 2 - Edit document content

    • Edit the document fields, the document content showing is an initial template.
  • 3 - Click Save when done.

Create new document in current collection

  • Open the down arrow and click Create new document in current collection.

Figure 3. Create new document in current collection

  • Edit the new document:

Figure 4. Edit the new document

  • 1 - Enter document ID

    • The current collection name is initially suggested.
    • Any other collection name of your choice can still be entered,
      document creation will be handled as described above in Create New Document.
  • 2 - Edit document content

    • Edit the document fields.
    • If all the documents in the collection have the same 'structure', i.e. same fields,
      then the initial document content showing will be those fields.
      (In the above example the fields are: ID Type & Name)
    • If not all documents share the exact same fields,
      then the initial document content will be just the initial template as in Create New Document.
  • 3 - Click Save when done.

Clone an existing document

Figure 5. Clone an existing document

  • Click the Clone button to create a copy of the current document.
  • When cloning a document from the Studio, any attachments, counters, time series, or revisions from the original document will be copied into the clone (if they exist).
  • If the original document is Archived, the clone will Not be archived.
  • Modify the cloned document as needed and click Save.
    The cloned document will be saved as a new document with a new ID.

Document ID types - examples

Figure 6. IDs examples

  1. Semantic ID
    This ID was generated by entering the actual string in the document ID.
    E.g., users/ayende@hr.com

  2. Server-Side ID
    This ID was generated by entering: users/ in the document ID.
    Note: the first document was created from node 'A' while the other one from node 'B'.

  3. Identity
    This ID was generated by entering: users| in the document ID.

  4. GUID
    This ID was generated by leaving the document ID field empty and just clicking 'Save'.