Skip to content

Repository View Context

Jeremy Huff edited this page May 14, 2019 · 8 revisions

After a Repository View is created it can be viewed and interacted with via the Repository View Context. This interface allows for browsing an IRs containers and resources, and the metadata and properties associated with each.

There are two main types of interface within the Repository View Context, and each has unique behaviors:

Repository View Context have a Context Menu with options both common to all contexts and some that are specific to containers or resources.

Breadcrumbs

Each page in the Repository View Context will display a breadcrumb navigation which displays your current position within the IR being viewed. Each entry within the breadcrumbs is a navigable link, save the last which is displayed prominently and serves as the title for the current page.

Properties

For all views within the Repository View Context there will be a set of properties. These properties are non editable and represent metadata which is associated with the container or resource being viewed that is not a part of any schema that has been added to the particular Repository View.

Metadata

For all views within the Repository View Context there will be a set of metadata. The metadata displayed in this section are editable and represent metadata which is associated with the container or resource being viewed whose schemata have been added to the particular Repository View.

Adding Metadata

In order to add new metadata to a container or resource you may do so through clicking on the "Actions" dropdown menu at the top of the metadata section. On the resulting menu you will see an option for "Add metadatum". Clicking this will open the Add Metadata Model. This modal consists of three fields and an action button: the schema dropdown, which allows you to select from all schemas assigned to the current Repository View; The label dropdown, which is a restricted typeahead input which will only allow for the selection of a property contained within the selected schema; the value input, which is currently unrestricted; and finally a "+" button which will allow for the addition of multiple pieces of metadata.

Once the "+" button has been clicked, a new input row will appear, terminating in a "-" button. Clicking this "-" button will result in the removal of the corresponding row.

Once all present rows have been completed, the "Add" button will be enabled and clicking it will result in the addition of all rows as new metadata values on the container or resource.

Editing Metadata

Existing metadata on a resource or container can be changed by clicking on the pencil icon which appears beside a metadata entry when the curser is hovering over it. Once clicked the metadatum will enter a the edit state, as indicated in the screenshot above. Any changes to the value will enable the check mark button. Clicking this button will confirm the edit. Clicking the "X" button will cancel all changes and retain the pre-edit value.

Removing Metadata

Metadata on a resource or container can be removed through the remove action found in the action dropdown at the top of the metadata section. Clicking this action will place the list of metadata in removal mode. In this mode checkboxes will appear beside each metadata value listed in the metadata section as well as all keys which have multiple values. Clicking on a value will queue that value for removal. Clicking on a checkbox beside a key will result in the queueing of all of its values for removal. Once values have been selected for removal, clicking the confirm button, found at the top of the metadata section, will result in the removal of a queued metadata.

Clone this wiki locally