Metadata is a feature that enables the end-user to attach any kind of information to a file or a folder.
Metadata namespaces are predefined by the Admin and their value can be freely added by the end-user. Typically, a good example of predefined metadata is the ability given by the admin to the end user to rate a file or a folder. Another widely used example is the comments feature.
Metadata can be used to enrich files information. They are visible in the right panel that appear when a file is selected.
You can define almost any type of files metadata and specify for example the order they appear and whether they can be used as search criteria.
In the admin left panel menu click the option metadata in the "Data management" section. And on the On right-top click on the NAMESPACE button to add define one.
Basic Namespaces Parameters
|Label||The name of the metadata as it appears in the interface.|
|Name||The name of the metadata with no space (must start with usermeta-)|
|Type||See available types below|
|Order||The position number of the appearance|
Metadata type are various here are some example of use case.
|Text||A small text|
Various format options (General, Bytesize, Percent, Progress)
|True/False||Boolean yes/no values|
|Date/Time||Date or Time field (date, time, or date & time).
Can be displayed normaly or as relative to current date (e.g. 4 minutes ago, 2 days ago...).
|Stars rate||Sequence of clickable stars to rate between 1 and 5.|
|Extensible tags||List of values that can be extended
Shows an auto-complete field
|Selection||Preset list of key/value pairs
Each key can also be attached a color.
|Color Labels||Preset list of colored tags (legacy, use Selection instead)|
|JSON||Arbitrary JSON. This type is used by specific plugins to attach data to files.|
Below is a preview of how these various types appear in the metadata edition form.
Display Options: grouping and ordering
When handling a large number of metadata fields, it may be more user-friendly to group namespaces under categories. That way, fields are more easily findable, and displaying fields inside expandable blocs (closed by default) avoids clutering the UX.
Starting with version 4.2.6, you can create Groups by using the "Group Name" field of a metadata namespace. Once created, it will be available as an auto-complete suggestion in other namespaces.
Groups can be nested, by using a "slash" (
/) separator in their name (think of them as folders).
As a result, the "Metadata Info" panel shown to users will look as below:
Additionally, the Order field allows you to fix the order of the fields.
In addition of enriching file info, metadata are use in may others part of Cells like the search engine, the security policies, the tasks scheduling and many other features. When defining a metadata the admin can choose whether it is visible or editable by other everyone. The options help adjusting metadata restrictions:
|Show in files list||Display the metadata value inline directly in the list|
|Index in search engine||Indexes values to make them searchable|
|Restrict visibility to admins||Only admins users are able to see it|
|Restrict edition to admins||Only admins users are able to edit it|
|[Ent] Custom Policies||Manually edit the restriction rules based on profiles, roles or users identifiers|
Typically, an admin could define a "Confidential" metadata and let only people with "Admin" status have the right to edit this data. Then the value of this metadata could be used in a security policy to decide whether a document is accessible to the outside network, or outside of office hours, etc.
[Enterprise] Import/Export Namespaces Definitions
Defining a large number of metadata namespaces can take some time and finetuning. It can be handy to export your namespaces to easily re-insert them in another Pydio Cells instance, or simply for backuping purposes.
Cells Enterprise v4.3.0 introduces the Import/Export feature to save these definitions in JSON format.
When exporting to JSON or importing a JSON file, you can select which Namespaces you want to process. Typically, during the import operation, if namespaces already exist, you can choose wether to override, rename or ignore the corresponding import.
Below is an example of the Export operation dialog.