Documents

How to view, create, edit, and delete Firestore documents in Firepanel.

A document is a single record within a Firestore collection. Firepanel renders documents using the field definitions from the corresponding Content Type.

Viewing a Document

Click any row in the collection table to open the document view. This displays all fields and their values in a read-only format.

Document view

Creating a Document

1

Open a collection

Navigate to the collection where you want to add a document.

2

Click New Document

Click the + New Document button in the top-right corner of the collection table.

3

Fill in the fields

The document editor opens with all fields defined in the content type. Fill in the values for each field.

Document edit mode

4

Save

Click Save to write the document to Firestore.

Editing a Document

1

Open the document

Click on a document row to open the document view, then click the Edit button (pencil icon).

2

Update fields

Modify the field values as needed.

3

Save changes

Click Save to write the updated document back to Firestore.

Deleting a Document

Note:

Deleting a document is permanent and cannot be undone from Firepanel.

To delete a document:

  1. Open the document view, or hover over the document row in the table
  2. Click the Delete button (trash icon)
  3. Confirm the deletion in the dialog

Special Views

ViewDescription
JSON ViewerClick the {} button to view the raw Firestore JSON of the document
Media PreviewMedia fields open a preview sheet for images and files
Component ViewerComponent fields display a structured component preview
Storage PickerMedia fields allow browsing Cloud Storage to select files