In release 3, Avalon introduced hooks to allow institutions to define permalinks (e.g., using a Handle server, DOI, or other durable link generating system) to resources. These links show up on the item/preview page in the Share this resource tab.
Permalinks are generated only for published Media Objects. When a Media Object is published, or a published Media Object is modified, Avalon makes sure that a permalink exists for the Media Object (Item) and for each of its component files (Sections).
To define how permalinks are generated, create a file in
config/initializers/generate_permalink.rb) following this template:
To create permalinks for Media Objects (Items) only, and not direct links to sections:
It's also possible to use a generic route for permalinks. The pid for an object can be substituted into the object controller route (i.e. /object/avalon:1). The controller will redirect the browser to the resource.