Creating a Document

You can create documents just like before, and save them directly to the M-Files drive.

You can also create a document using the New Document function in the M-Files task menu (or by pressing Ctrl+N in the M-Files user interface). The new document creation wizard helps you select the right template and class for the new document. Templates can also be searched by typing a search term. The search will display all templates and file formats that match to the search criteria, and highlight the results.



The new document creation wizard.

Selecting All displays all templates and file formats that are defined for the vault in question. The Recently Used option shows all the templates you have recently accessed. Recently used templates are also shown by default when you open the template selection wizard. The Blank option shows all the file formats that can be selected for a new document.

These predefined options are followed by a list of classes that can also be used for the template selection. Selecting a class displays the templates that are available for that class.

After you have selected a template or a blank document, a metadata card for the new document opens and you can start editing the properties. Properties marked with an asterisk (*) are mandatory.



The metadata card of a new document.

Selecting Create saves the document and adds the object to the vault. Selecting Open for editing makes sure that the document is checked out to you for editing until you manually check it in, and opens the new file in a suitable application for editing. If you have selected Check in immediately, the document will be available for others right away. Selecting Cancel discards all the changes and closes the dialog.

When you create a document in some other application, you fill in the metadata card only when you save the document in the document vault on the M-Files drive.

Tip: When filling in the metadata card, you can specify the permissions for the document in the Permissions field. This way, you can specify who can view, open, or edit the document.