Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The type of relationship you can add will vary by content model and also within content model, by level (file-to-file, file-to-object, object-to-object). The Web Admin +add relationships feature will limit you to relationships that are valid for the content model and level in which you are working. You can only add relationships from the file or object which is the source of the relationship. For a complete list of relationships you can add (by content model), see the Adding Relationships chapter in the Batch Builder User Guide.

When using Web Admin, you are always establishing a relationship between objects or files that are already stored in the DRS. To add a relationship, you would need to open the source item and create a relationship to a target item. For example, to relate an image file to a color profile object, you would create the relationship from image file metadata. 

To establish a relationship, you will need the DRS ID of the target item. If the target is an object, you can also use its object persistent ID or owner supplied name.

...

Relationships between existing objects and files can be added using the "Bulk Add Relationships" function available from the Bulk Operations screen. Any valid relationship can be added. To see the list of valid relationships for each content model see https://wikiharvardwiki.harvardatlassian.edunet/confluencewiki/x/a4leC5KSUAg.

To add relationships in bulk:

  • Choose the Bulk Operations menu item from Bulk Processing tab:

...

  • Create a CSV file:
    • The CSV file should consist of three columns with no header row.

      • column 1:
      • DRS ID for the source
      • column 2: Type of relationship to add
      • column 3: DRS ID for the target
  • Browse to the CSV file on your computer from the Upload a CSV File dialog and then click Upload.
    Image Modified
  • After the uploaded CSV file is processed, you will receive a "Bulk Load Report" email that provides a summary and a CSV attachment that indicates the success or failure for each transaction.
  • Please be aware of these guidelines:

    • To perform this operation, you need the metadata_editor role for the owner code of the objects/files listed in the CSV.
    • WebAdmin does not support bulk removal of relationships or update of existing relationships
    • There is no "undo" once the CSV file is submitted.
    • CSV files are limited to no more than 500 rows.

...