A document represents the basic entity in Virtualpaper. After all, documents are the beef of the system.
In essence, a document is a file that has contents and some additional metadata to it. Most relevant metadata is document title, optional description, file type, date, and so on. In addition to this a user can create custom key-value metadata to categorize and label their documents. Metadata adds context to documents, so users are able to easily find the documents later on.
By default, Virtualpaper shows the document list, which contains every document user has uploaded to the server. User can then filter and sort this list to find what they’re looking for.
A document has several default attributes:
Document can be linked to another document. These are 1-1 links between two documents. Several documents can link to the same document and vice versa. The benefit of linking documents is to add relation between them without having to add new metadata key-value to identify them. For example, if several versions of the same document exist, these can be linked to easily navigate between the different versions.
Linked documents are visible below the document thumbnail when viewing a document. When editing document and pressing ’linked documents’ a modal opens that allows to add and remove linked documents. Linking is done using document ids. To link a document, copy the id of the target document and paste it in the ‘document id’ textbox, click add and then click save. If ‘add’ button does not add anything to the list, then the ID is not valid or does not point to any existing document.
Virtualpaper supports editing multiple documents. At the time of writing this, only adding and removing metadata key-values are implemented. User can select individual files from documents list and add or remove metadata from these documents.
Deleting a document will move it to trash bin where it can still be saved. Document will be removed from the trash bin after certain amount of time, which is 14 days by default.