- Print
- DarkLight
- PDF
1. Adding a metadata
How do I add metadata? Here are several examples of metadata types. This can help guide you when adding yourself. These are indicative and are complementary to the article "Create a custom schema". So these are metadata related to a folder of type "Employee folder".
2. Example of adding manual metadata
- In the navigation menu, click on "Administration";
- Then go to "Metadata Schemas";
- On this page, consult the types of schemas of the files;
- At the end of the type of schema of your choice, click on "Metadata";
- To add metadata, click "Add".
2.1 Boolean manual metadata
A "Boolean" metadata allows you to support the choice between a "True" or "False" value.
- In the creation form, enter a code and a French label for your metadata;
- Subsequently, choose the "Manual" option for "data entry type";
- In the metadata "Type" choose the option "Boolean";
- Fill out the rest of the questionnaire and "Save";
- The metadata is now available in the "Employee File" creation form.
In addition, you do not have to select an input type and input mask.
You cannot select an object type.
It is not possible to check the boxes "Searchable", "Sortable", "Autocompletion" and "Available in search and tables".
2.2 Manual "Text" metadata
A "Text" metadata supports an unlimited sequence of alphanumeric characters. For example, the "Description" metadata is a "Text" metadata.
- In the creation form, enter a code and a French label for your metadata;
- Subsequently, choose the "Manual" option for "Data entry type";
- In the "Type" metadata choose the "Text" option;
- You can now choose an "Entry Type", the choices are :
- Fill out the rest of the questionnaire and "Save";
- The metadata is now available in the "Employee File" creation form.
Entry type | Description | Example |
---|---|---|
Text box | Allows entering values with minimalist formatting. | |
Rich text box | Allows entering values with advanced text formatting options. |
It is not possible to check the "Sortable" box.
2.3 Manual metadata of type "Content" (Photo)
A metadata of type "Content" allows you to create metadata supporting the import of a file. For example, the "File" metadata of the document.
- In the creation form, enter a code and a French label for your metadata;
- Subsequently, choose the "Manual" option for "Data entry type";
- In the "Type" metadata, choose the "Content" option;
- You can now choose an "Entry Type", the choices are :
- Fill out the rest of the questionnaire and "Save";
- The metadata is now available in the "Employee File" creation form.
Entry Type | Description | Examples |
---|---|---|
Content | Allows you to create a field for importing a file. | |
Borrow/Return Content | Allows you to create a field for importing a file, as well as an interface to version it. |
It is not possible to check the "Sortable" box.
It is not possible to set a default value.
2.4 Manual "Date" metadata
A metadata of type "Date" allows you to create metadata supporting the manual entry of date or attend using a calendar. For example, the "Opening Date" is metadata for "Date".
- In the creation form, enter a code and a French label for your metadata;
- Subsequently, choose the "Manual" option for "Data entry type";
- In the "Type" metadata, choose the "Date" option;
- Fill out the rest of the questionnaire and "Save";
- The metadata is now available in the "Employee File" creation form.
You cannot select an object type.
2.5 Manual metadata of the "Date & Time" type (end of use)
A "Date & Time" metadata can support the manual entry of a date and time or attend using a calendar.
- In the creation form, enter a code and a French label for your metadata;
- Subsequently, choose the "Manual" option for "Data entry type";
- In the "Type" metadata, choose the "Date & Time" option;
- Fill out the rest of the questionnaire and "Save";
- The metadata is now available in the "Employee File" creation form.
You cannot select an object type.
2.6 Manual metadata of type "Reference"
A metadata of type "Reference" allows to feed to a list of vocabulary controlled in the domain of value.
First, create your list in the value areas:
- Go to "Administration" then "Value domains";
- In the "Custom" tab, "Add" a list;
- Give a title to your list and then "Save";
- Consult your new list;
- On the page, click "Add" and fill out the add record form;
- "Save". The record metadata card appears. You can return to the recording list and repeat for all your recordings.
Now that your value domain is created, now go back, create the metadata.
- In the creation form, enter a code and a French label for your metadata;
- Subsequently, choose the "Manual" option for the "Data entry type";
- In the "Type" metadata, choose the "Reference" option;
- You can now choose an "Entry Type", the choices are:
- In the "Object Type" metadata, choose your value domain list, create earlier;
- Fill out the rest of the questionnaire and "Register";
- The metadata is now available in the "Employee File" creation form.
Entry Type | Description | Examples |
---|---|---|
Lookup | Allows you to create a control that allows you to view controlled vocabulary values in a highlight window. | |
Drop-down menu | Allows you to create a field that allows you to view controlled vocabulary values in a drop-down menu. | |
Radio button | Allows you to create a field that allows you to view controlled vocabulary values as a button. | |
Check box | Allows you to create a field that allows you to view controlled vocabulary values as a check box. Available only when the "Multivalue" metadata is checked. |
The "Searchable", "Autocomplete" and "Available in search and tables" boxes are not available.
2.7 Manual string metadata
A "String" metadata supports a limited sequence of characters. The "Title" metadata is a "String" metadata.
- In the creation form, enter a code and a French label for your metadata;
- Subsequently, choose the "Manual" option for the "Data entry type";
- In the "Type" metadata, choose the "Character string" option;
- You can now choose an "Entry Type", the choices are:
- You then have the option to add an input mask. By doing so, you control the entry of the value in the metadata.
- In this form, it is also possible to indicate that the metadata is "unique". So the value cannot be repeated.
- Fill out the rest of the questionnaire and "Register";
- The metadata is now available in the "Employee File" creation form.
Entry type | Description | Example |
---|---|---|
Basic fields | Allows you to create a field where you can enter an alphanumeric value, without supporting cart returns. | |
URL | Allows you to create a field where the value entered will refer to a URL. | |
Password | this field has no use for Constellio users, only for advanced development operations. |
2.8 Manual metadata of type "Number"
A metadata of type "Number" allows to support only the entry of a numeric value.
- In the creation form, enter a code and a French label for your metadata;
- Subsequently, choose the "Manual" option for the "Data entry type";
- In the "Type" metadata, choose the "Number" option;
- The metadata 'Unit of Measurement' is now available.
- Fill out the rest of the questionnaire and "Register";
- The metadata is now available in the "Employee File" creation form.
You cannot select an object type.
It is not possible to check the "Searchable", "Autocompletion" and "Available in search and tables" boxes.