Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 2.0
Community Wiki and Resources
Download Couchbase Server 2.0
Couchbase Developer Guide 2.0
Client Libraries
Couchbase Server Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
6 Using the Web Console
Chapter Sections
Chapters

6.6. Using the Document Editor

The Document Viewer and Editor enables you to browser, view and edit individual documents stored in Couchbase Server buckets. To get to the Documents editor, click on the Documents button within the Data Buckets view. This will open a list of available documents. You are shown only a selection of the available documents, rather than all documents.

Figure 6.27. Web Console — Document Overview

Web Console — Document Overview

You can select a different Bucket by using the bucket selection popup on the left. You can also page through the list of documents shown by using the navigation arrows on the right. To jump to a specific document ID, enter the ID in the box provided and click Lookup Id. To edit an existing document, click the Edit Document button. To delete the document from the bucket, click Delete.

To create a new document, click the Create Document button. This will open a prompt to specify the document Id of the created document.

Figure 6.28. Web Console — Document Create

Web Console — Document Create

Once the document Id has been set, you will be presented with the document editor. The document editor will also be opened when you click on the document ID within the document list. To edit the contents of the document, use the textbox to modify the JSON of the stored document.

Figure 6.29. Web Console — Document Edit

Web Console — Document Edit

Within the document editor, you can click Delete to delete the current document, Save As... will copy the currently displayed information and create a new document with the document Id you specify. The Save will save the current document and return you to the list of documents.