Related resources

Resources can be linked by relating them in order to help find and group sets of similar, or mutually relevant resources, not to be confused with Alternative files.


To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video


How to relate resources

Relate all resources in a collection

  1. Add resources to your selected collection, see Adding to a collection
  2. From the collection actions list select "Relate all resources in this collection"

You will see a confirmation message to say all resources are now related.

While collections are a convenient way to relate a large number of resources, resources are related at the resource level. The relationship is not connected to the collection used.

From version 10.2, the option to "Un-relate all resources in this collection" is also available. This will remove the relationships between the resources in the collection without affecting relationships to resources outside of the collection. 

Manually relate resources

Edit each resource individually and place the IDs of the resources you wish to relate into the "Related Resources" box (See Below).

This relate will only apply to the resource you are editing, you will need to do the same for all of the resources that you wish to relate to each other.


Relate on upload

This requires some additional configuration to apply the below option and to set the correct PHP path for you system, often $php_path="/usr/bin";.


Once enabled, you will see a check box option on the upload page which you can select to relate all resources in that upload batch. If using the "Set metadata first" sequence, this option will be at the bottom of the metadata form. If adding the files first, the option will be in the expandable "Upload options" section, below the uploader box.

Viewing related resources

Once resources have been related to each other, they are visible as a set by scrolling to the bottom of the resource view page. For further options on displaying related resources, please see our article on push metadata.

Adding new related resources

It is also possible to create new related resources directly from the resource view page.

If you have the configuration options $related_type_show_with_data enabled for a resource type, you will see an 'upload' link on the relevant tab.

From version 10.2 there is also a link 'Create new related resource' located on the resource view page, below any existing related resources. This allows you to create a new empty resource (with no file attached), although depending on system configuration a file for the resource may still be uploaded later.