Skip to content

Latest commit

 

History

History
76 lines (44 loc) · 4.27 KB

collections.md

File metadata and controls

76 lines (44 loc) · 4.27 KB

Collections are groups of repository content that can be described themselves. Repository content is aggregated in a collection by setting the field_member_of entity reference field to point to a collection. Generally speaking, anything can behave as a collection, and anything with field_member_of can be a member of a collection. However, Islandora provides a "Collection" taxonomy term in the Islandora Models vocabulary that can be used to trigger collection-specific behavior. For example, a context provided by Islandora Defaults will display a list of child resource node teasers on the resources' display page when this term is applied to the field_model field.

!!! Tip "Collections and Deleting" Collections and their members are independent of each other, and removing something from a collection does not delete it. Similarly, deleting a collection does not delete its members.

Creating a Collection

When logged in as an administrator, click the Content button under the Manage tab.

Click the Content button under the Manage tab

Click on Add content.

Click on add content, under tools

Then click on 'Repository Item' to give your collection the default metadata profile for Islandora 8.

Click on Repository Item

Fill out the form.

Near the end of the form, under System, select Collection from the Model dropdown list.

Near end of form, under System, select collection

Click Save when done.

The collection has been created. Now let's add some members to this collection.

The collection has been created. Now let's add some members to this collection.

Add Existing Items to a Collection

To populate a collection with existing items, return to any existing content and click on its Edit tab. This brings up the form for this item.

To populate a collection with existing items, return to any existing content and click on its Edit tab.

Scroll down to the bottom and the System section. In the Member of section, start typing in the name of the collection this item should belong to. Select the name of the collection you want from the autocomplete.

Scroll down to the bottom and the System section. In the Member of section, start typing in the name of the collection this item should belong to.

The correct collection is now selected. Click Save when ready.

The correct collection is now selected. Click Save when ready.

To confirm, return to the collection and verify the new item appears in the collection's 'Members' block.

To confirm, return to the collection and verify the new item appears in the collection's 'Members' block.

Add a New Item as a Member of a Collection

To create an item and add it as a member to a collection in one step, visit a collection and click on its Members tab. From the Members tab, you can manage the members of a collection and perform actions on them.

From the 'Members' tab, you can manage the members of a collection and perform bulk operations on them.

Click on the +Add member button, and then select 'Repository Item' to give your new item a Content Type. Only content types that have the field_member_of field will be available from this list.

Click on the '+Add member' button, and then select 'Repository Item' to give your new item a Content Type.

You are taken to the creation form for a Repository Item, but if you scroll down to the System section, you should see the widget for 'Member Of' is already filled out for you with the appropriate collection.

You should see the widget for 'Member Of' is already filled out for you with the appropriate collection.

Click 'Save' at the end of the form to create the new item and add it as a member of the collection.

!!! Tip "Islandora Quick Lessons" Learn more with this video on Making a Collection.