VTDLP Configuring Site Options - VTUL/dlp-access GitHub Wiki
Setting Redirect URL
The redirect url allows administrators to add a base url to which an item's persistent identifier (ark, doi) can be appended to provide a consistent, unchanging link to the resource, to be used in citations.
In order to set the redirect url:
- Visit your repository's administration page:
/siteAdmin
- Make sure that you are on the "General Site Config" tab and click the "Edit" radio button.
- Enter your base url in the "Redirection URL" field
- Click the "Update site" button at the bottom of the form.
The url that you enter will be saved in the siteOptions object of the Site table in DynamoDB.
Example
"siteOptions": {
"redirectURL": "http://idn.lib.vt.edu"
},
Configuring Required Fields
The metadata fields that are required can be customized for the two data types (Archive and Collection) for each individual repository. NOTE: A GUI to customize these fields is currently in development but, for now, administrators must manually edit their "requiredAttributes" records in DynamoDB.
In the SiteOptions
section of your DynamoDB Site
record a requiredAttributes
json object must be added, specifying which fields will be required for "archives" and for "collections." These fields should be specified as an array of Strings. The available metadata fields can be found here.
Example
This example shows a siteOptions
configuration that makes the identifier
, thumbnail_path
and title
fields required for the "archive" data type and the identifier
and title
fields required for the "collection" data type. These specifications are contained in the requiredAttributes
object.
"siteOptions": {
"redirectURL": "http://idn.lib.vt.edu",
"requiredAttributes": {
"archive": [
"identifier",
"thumbnail_path",
"title"
],
"collection": [
"identifier",
"title"
]
}
},