+ All Categories
Home > Documents > Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter as...

Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter as...

Date post: 07-Aug-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
108
Islandora Camp Colorado October 14th - Admin Track Melissa Anez- Islandora Foundation Erin Tripp - discoverygarden, Inc.
Transcript
Page 1: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Islandora Camp ColoradoOctober 14th - Admin Track

Melissa Anez- Islandora FoundationErin Tripp - discoverygarden, Inc.

Page 2: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Course Outline● Intro to Drupal

○ Drupal/Fedora/Islandora○ Site content & structure○ Managing users and permissions○ Setting Blocks

● Setting up Islandora○ Basic configuration and check-ups○ Solution packs○ Creating collections

Page 3: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Course Outline● More setting up Islandora

○ Ingesting objects - single and batch○ Editing forms○ XACML Editor

● Setting up Search○ Intro to Solr○ Configure Solr search○ Setting Solr Blocks

Page 4: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Intro to Drupal

Page 5: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Drupal is...● open Content Management Framework

software maintained and developed by 630,000+ users and developers.

● endlessly customizable via Modules - functional plugins that either come with drupal or are developed by the community.

Page 6: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Drupal is...● the "website" side of Islandora. Non-repo

pages, menus, site theme, users - These are all managed by Drupal.

● content (pages, news items, users, etc) stored as nodes.

Page 7: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Fedora is...Flexible, Extensible, Digital/durable Object

Repository Architecture (general-purpose, open-source digital object repository system).

● originally developed by researchers at Cornell University as an architecture for storing, managing, and accessing digital content in the form of digital objects.

Page 8: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Fedora is...● a unique content and relationship modeling

framework that preserves the integrity of collections and can be modified to manage any digital asset.

● the storage layer of Islandora. Objects ingested into and managed with Islandora are stored in a Fedora repository - not in Drupal.

Page 9: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Islandora is...● a collection of Drupal modules that enables

you to create, ingest, and manage objects stored in a Fedora repository.

● the flexibility of Drupal on top of the robust storage of Fedora.

Page 10: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Islandora is...● an open source framework developed by the

University of Prince Edward Island's Robertson Library

● constantly being improved and developed. The latest version is 7.x-1.3 for Drupal 7, but version 7.x-1.4 will be released at the end of the month.

Page 11: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

First Steps● Is Virtualbox running?

● Find your Islandora Camp VM and click Start

● Watch it go.

Page 12: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

First Steps

Go to the home page of your Islandora site:

http://localhost:8181/username: admin

password: islandora

Page 13: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Create a Front Page● Select "Add Content"

Page 14: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Create a Front Page● Select Basic Page and fill out a title and basic

content.● Give your page a URL alias of home

● Navigate to Configuration -> Site information● Under Default front page, enter home● Save your changes.

Page 15: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - Site InfoGive your site a new name, slogan, and default email address.

Page 16: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Change the Logo● Navigate to Appearance

● Find the default theme (Bartik)○ Select Settings

● Find Logo Image Settings

● Browse to the Images folder in your Course

Pack and upload icampCO.png.

Page 17: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Menus● Navigate to Structure -> Menus

● Pick Main menu and list links:

Page 18: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Add a Home Link● Select +Add link

● Name the new link Home and enter <front> as the path○ This is a Drupal term that will always point to the

front page of your site.

Page 19: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Add a Home Link● Make sure the link is enabled and that the

parent link is <Main menu>

● Give a weight of -50 so the link will be first in the menu bar.

Page 20: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - MenusCreate an About page with a brief description of your site and create an About menu item that comes after Home.

Page 21: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Create a User● Navigate to People and the List tab

● Select +Add user○ Use whatever email address and username you like.

○ Do not set this user as an administrator.

● Create new account

Page 22: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Create a Role● Under People, navigate to the Permissions

tab and select Roles.

Page 23: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Create a Role● Add a new role called repo user

● Edit permissions for the repo user role

● Scroll to the islandora permissions.

○ This is where you need to understand basic FedoraCommons concepts...

Page 24: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

FedoraCommons Concepts● Everything is an object● Objects are made of datastreams ● Content Models are templates for Objects● All Objects have unique persistent

identifiers, or PIDs● Objects are connected in a graph-like

structure

Page 25: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Graph

Hierarchy

This is a useful oversimplification

Page 26: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Islandora Permissions● View repository objects

○ View objects in the repository. Fedora XACML

security policies may override this permission.

● Add datastreams to repository objects

○ Add datastreams to objects in the repository. Fedora

XACML security policies may override this position.

Page 27: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Islandora Permissions● Edit metadata

○ Edit metadata for objects in the repository.

● Create new repository objects ○ Ingest new objects into the repository.

Page 28: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Islandora Permissions● Permanently remove objects from the

repository○ Purge Objects

● Manage object properties ○ Modify object labels, owner IDs, and states.

Page 29: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Islandora Permissions● View datastream history

○ View all previous versions of a datastream.

● Revert datastream history○ Roll back to previous version.

Page 30: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Islandora Permissions● Manage deleted objects

○ View and manage objects with a status set to

“deleted”

● Regenerate derivatives

○ Regenerate derivatives for an object or per

datastream.

● Replace Datastreams

○ Add new datastream content as latest version.

Page 31: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Islandora Permissions

● Islandora BagIt● Islandora Batch● Islandora Bookmark● Islandora FITS● Islandora Image Annotation● Islandora PREMIS● Islandora Paged Content● Islandora Scholar Embargo

● Islandora Simple Workflow● Islandora Solr● Islandora Solr Metadata● Islandora Sync● Islandora XACML editor (and

Api)● Islandora basic collection● Islandora Compound Object● Islandora XML Form Builder

● Many other modules come with permissions

Page 32: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Edit Permissions● Under Islandora permissions, find the

permission to View repository objects and:

○ Remove from Anonymous and Authenticated

○ Grant to repo user role

● Save permissions

Page 33: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Give your user this role● Return to People (admin/people) and find the user you

created earlier, edit this user, and grant them the repo user role

Page 34: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - Users● Create a new user and a repo manager

role. ● Give the repo manager role permissions

appropriate to edit and delete objects.● Assign the new user

to the repo manager role.

Page 35: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Working with BlocksBlocks are the boxes visible in various area of your Drupal website's screens. Most blocks (e.g., recent forum topics) are generated on-the-fly by various Drupal modules.

Whether, and where, a given block will appear on a page depends on both the theme enabled and on administrative block settings.

https://drupal.org/documentation/blocks

Page 36: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Working with Blocks● In the administrative menu, select Structure

and then Blocks

● Scroll down to the Disabled blocks at the bottom of the page and find Islandora simple search

● Click Configure

Page 37: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Working with Blocks● In Region Settings, set the block to display

in the First Sidebar○ To see where each region is, click Demonstrate

block regions in the main Block menu

● Scroll down Pages. Under Show block on specific pages, check All pages except those listed

● Enter islandora/search/* and save block.

Page 38: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Working with Blocks● Close the Blocks administrative menu and

go back to the front page of the site.● Search in the first search box for cats.● Search in the Islandora simple search box

for cats. You’re now searching the contents of your Fedora repository (we’ll make the results look better later).

Page 39: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - Blocks● Navigate back to the Blocks admin menu, look

for the blocks displayed in the First sidebar● Find Search form and set it to -none-● Scroll to the bottom and and save blocks. Now

only Islandora simple search is available for quick searching.

● Remove the visible label from the Islandora simple search block

● Set the block so that it does not display on your About page.

Page 40: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Setting up Islandora

Page 41: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Basic Settings● Islandora 7.x has its own administrative

menu, found under /admin/islandora

● All configuration options for Islandora modules (solution packs, tools, forms, etc) can be found here.

Page 42: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

General configuration● admin/islandora/configure or

Configuration in the Islandora admin menu. Here you can:

○ Verify your site's connection to Fedora

○ Set the root collection PID used by Fedora

Page 43: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Solution PacksIslandora Solution Packs are Drupal modules offering custom Content Model Objects, Workflows, and Ingest Forms.

Solution Packs present a starting point for users with particular types of data, such as books or audio files, based on standard use cases.

Page 44: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Adding a Solution Pack● Islandora Solution Packs can be found via

http://islandora.ca/downloads (or check your iCampCO stick)

● Select your version, scroll down to the Downloads section, and download the modules you want to use.

Page 45: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Adding a Solution Pack

● For today, we have provided the SP you need in the Modules folder of your flash drive.

Page 46: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Adding a Solution Pack● Navigate to the Modules admin page● Click +Install new module

Page 47: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Adding a Solution Pack● Browse to Modules folder of your Course

Pack and install islandora_solution_pack_audio-7.x-1.3.zip

● Scroll to the Islandora section and enable Islandora Audio.

● Scroll to the bottom of the Modules page and Save Configuration.

Page 48: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Verify the New SP● Go to the Islandora admin page● Select Solution packs● Verify that all is well with your new SP:

Page 49: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Verify the new SP● If there is a problem with the content model

or default collection objects, you will see this:

Page 50: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - Installing a SPInstall the Video Solution Pack

Page 51: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

CollectionsCollections are objects just like everything else, but in practice they can be considered synonymous with the traditional concept of a collection.

An Islandora collection has “Collection” Content Model in addition to data content models that define what kinds of data objects can "belong" to that collection.

Page 52: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Creating a New Collection● Navigate to where you want your collection

○ For today, let's use the root collection: Islandora Repository in the sidebar.

● Click Manage and then Collection

● Select +Add an object to this collection

Page 53: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Creating a New Collection● Collection Label: The human-readable name of

your collection.○ Please call it Cats

● Collection PID: assign a namespace and an identifier for your collection.○ Please use cats:collection

● Inherit collection policy: Should your collection take on the collection policies of its parent?○ Uncheck this and enable Islandora Basic Image

Content Model

Page 54: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Creating a New Collection● PID (Persistent Identifier): Every object in a

Fedora repository has a unique id with the format namespace:ID. This id is assigned when the object is created, and cannot be changed. The PID can be user-generated or managed based on information specified in the collection policy.

● Namespace: The namespace is a component of the PID. The namespace is defined in the collection policy, and will then be used to generate PIDs for the objects ingested into that collection.

Page 55: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Creating a New Collection● To create a collection within another

collection, the parent collection must have the Islandora Collection Content Model (islandora:collectionCModel) enabled under Manage collection policy.

○ Without this content model enabled, you will not have the option to Create child collection.

Page 56: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Setting Collection Policy● View your new empty collection Cats and

click Manage

○ View Datastreams - these are all created by default when a new collection object is created.

○ View Properties - this allows you to edit name, ownership, and status, and to delete your collection.

○ View Collection - This provides a number of collection management options.

Page 57: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Collection Tab

● Manage collection policy - Select which content models to enable and assign namespaces on a per-content model basis.

● Share members - Link objects in this collection to other collections in your repo.

Page 58: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Collection Tab● Migrate members - Move objects from one

collection to another. Unlike Share members, this removes the object from the starting collection.

● Delete members of this collection - Exactly what it sounds like. Use this to mass-delete selected objects. Use with caution - they cannot be recovered!

Page 59: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - CollectionsCreate a new collection under the root collection called Cat Pictures with an appropriate PID and the Basic Image collection enabled.

Page 60: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Sharing or Migrating ObjectsObjects in a collection can be moved to a new collection or shared among multiple collections, allowing for complex and changing structures in how your objects are organized and presented to visitors.

Page 61: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Sharing Objects● Migrate to the Basic Image Collection and

open the Manage tab.

● Select Collection and then Share members

● Share Cat Hug and Lasers! with Cat Pictures.

Page 62: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Migrating Objects● Migrate back to the Basic Image Collection

and open the Manage tab.

● Select Collection and then Migrate members

● Migrate both “Twisty” pictures to the collection Cat Pictures.

Page 63: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Ingesting ObjectsTo add new objects to a collection, they must be ingested. Objects can be ingested individually or in batches.

Page 64: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Ingesting a Single Object● Navigate back to the PEI Postcard

Collection.

● Click the Manage tab

● Select + Add an object to this collection

Page 65: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Ingesting a Single Object● Under Title enter: Carleton Beach, Sunset

● Type of Resource: Still image

● Geographic Information:○ Continent: North America○ Country: Canada○ Province: Prince Edward Island○ City: Carleton

Page 66: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Ingesting a Single Object● Click Next

● Browse in your Course Pack to the Images folder and select sunset.jpg. Ingest the object.

● View your object. Expand the Details tab to view the metadata you entered.

Page 67: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Batch IngestingFor larger collections, Islandora is able to pull multiple files out of a zipped archive and ingest them into Fedora as a batch, using the Islandora Batch Importer module.

Page 68: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Batch IngestingYou can zip and batch ingest:

● Content files (images, videos, etc)

● XML metadata that can later have content files added

● Both content files to be ingested and XML metadata to be appended to files

● Books, formatted with a specific directory structure

Page 69: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Batch Ingesting● In your Course Pack, navigate to the

Images folder and open the file sunset.xml with a text editing program (TextWrangler, Wordpad, Notepad, etc.)

● This file contains xml formatted metadata for the postcard you uploaded as a single object.

Page 70: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Batch Ingesting● Navigate back to the PEI Postcards

collection.

● Click Manage

● Click Collection

● Select + Batch Import Objects

Page 71: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Batch Ingesting● Importer: Zip File Importer

● Submit

● In your Course Pack, browse to Images and select PEI_Postcards.zip

Page 72: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Batch Ingesting● Content model: Islandora Basic Image

Content Model

● Object namespace: postcards

● Import. A progress bar will appear showing your progress.

Page 73: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Purging Objects● Navigate to Manage -> Collection and to

Delete members of this collection

● Find the duplicated records, check off one, and delete.

Page 74: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Editing Object Metadata● Navigate to the Cat Pictures and open

Twisty Cat. Click Manage.

● Go to the Datastreams tab and find the MODS datastream. Click edit.

● Under Name, change Pip to Ani.

● Scroll to the bottom of the form and click Update.

Page 75: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - Collections IICreate a new collection under the root collection called Dog Pictures and populate it from the Basic Image Collection. Ingest the picture gracie.jpg with the info in gracie_metadata.rtf. Correct the metadata of Not a Bear.

Page 76: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

FormsXML Forms is a collection of Drupal modules that allow for the manipulation of XML documents though Drupal forms.

XML Form Builder makes it possible to create, copy, and edit ingest forms, and to affiliate them with Content Models in the repository.

Page 77: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

FormsIn this section we will cover how to:

● Clone a form

● Change a form label

● Set a default entry

Page 78: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Cloning a FormWhen customizing a form, it is prudent to first clone the form and make your alterations to the clone, rather than editing the original form directly.

It is best to start by cloning the existing form associated with the content model your collection is utilizing

Page 79: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Cloning a Form● Go to Islandora -> Form Builder

● Find the Basic image MODS form

● Select Copy

● Name your form Custom Basic image MODS form

Page 80: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Cloning a Form● Click Copy

● You are now viewing the form editor for your new form.

● Select Form Properties to view the properties of your form

Page 81: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Changing a Form LabelForm labels and descriptions are editable, so you can customize a form to match the needs of your collection and provide relevant help text for users entering data.

Page 82: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Changing a Form Label● All fields in the form are listed in the

Elements panel

● Find the name element

● Alter the title of this element from Name to Creator

● Click Save & Preview

Page 83: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Set a Default ValueOn occasion you may wish to pre-populate certain fields to save time or prevent data entry errors. For instance, a large collection by a single creator or within a single genre.

Page 84: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Set a Default Value● Return to the Elements panel and find role

(textfield) under name (tabs)

● Under Default Value enter Photographer

● Save & Preview

Page 85: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Associate the FormFor a form to appear as an option on ingest, it must be associated with an appropriate content model.

Page 86: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Associate the Form● Go to Islandora -> Form Builder

● Find the Custom Basic image MODS form

● Click Associate

Page 87: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Associate the Form● Content Model: islandora:sp_basic_image

○ Begin typing the PID of the content model you wish to affiliate a form with, and the name will auto-complete. Try "basic"

● Metadata Datastream ID: MODS

● Title Field: ['titleInfo']['title]

Page 88: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Associate the Form● Click Add Association

● Navigate to the PEI Postcards Collection and ingest a new object. Your custom form is now available as an option on ingest.

Page 89: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - Forms● Clone the Basic image MODS form

● Name it Postcard basic image MODS form

● Change the label of genre(textfield) to Type.

● Set Postcards as the default value.

● Associate the form with the Basic Image CM

Page 90: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

XACMLObject security in Fedora is defined by XACML (eXtensible Access Control Markup Language) policies.

Only adds restrictions. You cannot use object-specific XACML to remove a restriction that is set at the Fedora-wide level.

Page 91: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

XACML Editor● Go to the PEI Postcard collection.

● Click Manage -> Object Policy

● You will see three sections for setting policy.

Page 92: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

XACML Editor● Object Management: Controls who can set

XACML policies for an object/collection.

● Object Viewing: Controls who can view an object/collection.

● Datastreams and MIME types: Controls who can view datastreams by DSID and MIME type.

Page 93: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

XACML Editor● What items would you like to apply this

policy to?

○ Determines how policies are applied to objects within the collection.

Page 94: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

XACML Editor● Check Enable XACML Restrictions on

Object Viewing

● Under Allowed Roles, select all roles except repo user.

● Set Permissions

Page 95: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

XACML Editor● See a warning? In order to prevent locking

yourself out, the XACML Editor will prompt you to always select your account and that of the admin user for Object Management.

● Under Object Management, select the admin user and Set Permissions again.

● Log in as the repo user and observe the change.

Page 96: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - XACML● Restore Object Viewing access to the

collection for the repo user role.

● Restrict the user in that role from viewing just the Carleton Beach, Sunset object in the collection.

● Log in as the repo user and observe the change.

Page 97: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Setting up Search

Page 98: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Searching with SolrIslandora uses Solr to make objects in your Islandora installation discoverable and allow you to configure search fields for searching and faceting.

Whenever you add a new object in Fedora, the Solr module updates your index, and makes those results available to your users.

Page 99: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Configuring Solr BlocksIslandora Solr comes with several blocks that need to be set in regions:● Islandora advanced search - place in First

sidebar● Islandora facets - place in First sidebar● Islandora query - place in Help● Islandora sort - place in Help

Page 100: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Configuring Solr Results● Go to Islandora -> Solr index -> Solr

settings

● Go to Default display settings

● Start typing mods_titleInfo_title_ms (autocomplete field should narrow the results quickly) and add the field once complete.

Page 101: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Configuring Solr Results● Click Configure

● Label the field Title and check Link to object

● Save Solr configuration and go search for cats.

● Check Limit results to fields listed above and resave.

Page 102: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Configuring Solr Results● Go to Solr settings

● Go to Sort settings

● Start typing mods_originInfo_dateIssued_dt and add the field once complete.

● Click Configure and label the field Sort by Date.

Page 103: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Configuring Solr Facets● Go to Solr settings

● Go to Facet settings

● Start typing mods_subject_hierarchicalGeographic_city_ms and add the field once complete.

● Click Configure and label the facet City.

Page 104: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Configuring Solr Facets● Start typing mods_name_personal_namePart_ms

and add the field once complete.

● Click Configure and label the facet Name.

● Set the Minimum limit to 1 and save.

● Go search for cats.

Page 105: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Configuring Advanced Search● Go to Solr settings

● Go to Advanced search block

● Start typing mods_name_personal_namePart_ms and add the field once complete.

● Click Configure and label the field Name.

● Save Solr configuration and go search for Doc.

Page 106: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Other Config Options● Query defaults

○ Can be used to shape the way Solr results are presented to the end user, e.g. by limiting to particular namespaces.

● Required Solr fields○ Defaults should be fine unless you’re doing

advanced configuration.

● Other○ Debug mode for testing.

Page 107: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Exercise - Solr● Set display fields for two other pieces of

metadata (look at a cat or dog record to see what’s available).

● Set another facet.

● Set another Advanced Search field.

Page 108: Islandora Camp Colorado Admin Track.pdf · Select +Add link Name the new link Home and enter  as the path This is a Drupal term that will always point to the front page

Thanks!

http://xkcd.com/851/


Recommended