Skip to content

Create document types

Jaume Cardona edited this page Oct 10, 2018 · 16 revisions

Document types allow you to attribute structured, consistent metadata to your documents. For each document template, you can assign properties of the type:

For example, you may want to create a document type called "NGO Reports" which will contain properties such as title, date published, NGO author, etc. You will create one document type for each kind of document that has a distinct set of properties.

Under Documents, you can view, edit, and delete existing document types.

Follow these steps:

  1. Click on the gear icon in the top right corner of the site.

Gear icon

  1. Go to Document Types.
  2. Click on Add document type under Document types.
  3. You will see two default properties: Title, and Date added.
  4. Add properties by dragging them into the designated box.
  5. Edit the Name of the property that you are adding.
  6. Click Save.

New template

When adding a new property to a document or entity type, you can choose whether you want that property to: be required, to be shown in the library cards, and/or to be included in the list of filters to which your users have access.

property options

Note: When you add a multi-select property to a type, you will see a field titled Thesauri in which you can select a Dictionary or an Entity type that you have already created. See the section on Create and manage your thesauri for more information on how to work with dictionaries.

Document thumbnails

In order to display thumbnails in your cards and side panel for document preview, you need to active the "Preview" field for that particular template.

Preview field

Since it behaves as a regular field, admins can choose where it should be display in the card by dragging the field to the desired position. This field comes with and option "Fill width" that will remove margins with the side of the cards, allowing for better visuals.

It also comes with two rendering options, "Fill" centering the image so that it will take more space in the screen, and "Fit", making sure that the whole image will be displayed.

This is the result activating all options "No label", "Show in cards", "Full-width" and "Fit":

Document list with previews

Clone this wiki locally