Example - Managing a Document
The following examples will demonstrate how to manage your documents. We will do the following:
- Create a simple text document.
- Upload the new document to the DMS.
- Upload a bundle of documents.
- Changing the content of the document.
- Upload the edited document again and create a new version.
Create a simple Text Document
Open your favorite text editor, type a couple of lines and save the document.
Upload the new text document to the DMS
We will upload the new text document to the DMS. What we actually will be doing is create a new "node" for the document, populate some properties and add the text document as content to the repository. We will start with creating a folder first, then add the document.
- Open the browser and start the //Magnolia Admin Console//.
- Click on //«Documents»// in the left side navigation pane.
- Right-click into the right side workspace and select «//New folder//» from the context menu.
- Click on «untitled» (below «Title» heading) and replace with «//Personal Documents//».
- Click on «untitled» (below «URL» heading) and replace with «//personal//».
Now we can add our new text document. To do so, we will create a document node and upload our text document as property.
- Right-click on the new folder icon and select «New document» from the context menu.
- Upload your text document by clicking the Browse button in the «File» field.
- Fill out «//Subject//» and «//Description//» fields.
- Click the Meta Data label and add some additional information about your document.
- Click the Save button to store the new document node.
Whenever you upload or replace an existing document a new version is added. It is not possible to decide whether you want the version or not. This feature will be added soon.
Having versions is generally a good and useful feature, but keep in mind that large, multi-MB documents may occupy a lot of disk space!