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.

Creating a Document
Open a collection
Navigate to the collection where you want to add a document.
Click New Document
Click the + New Document button in the top-right corner of the collection table.
Fill in the fields
The document editor opens with all fields defined in the content type. Fill in the values for each field.

Save
Click Save to write the document to Firestore.
Editing a Document
Open the document
Click on a document row to open the document view, then click the Edit button (pencil icon).
Update fields
Modify the field values as needed.
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:
- Open the document view, or hover over the document row in the table
- Click the Delete button (trash icon)
- Confirm the deletion in the dialog
Special Views
| View | Description |
|---|---|
| JSON Viewer | Click the {} button to view the raw Firestore JSON of the document |
| Media Preview | Media fields open a preview sheet for images and files |
| Component Viewer | Component fields display a structured component preview |
| Storage Picker | Media fields allow browsing Cloud Storage to select files |