Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added additional customization options

...

Set showCompact to true if you want the item display to always be 'collapsed' when there is more than one item.

Set showRequestInViewIt to true if you want to show request options when there is no physical holdings (when there is a view it menu only, should result in an illiad link).

Set requestShowOptions to true if you want to display options for requests placed - these are dynamically pulled from the original Alma request form and should be configured there.

illURL should be your ILLiad URL.

...


app.constant('customUresolver', {
enabled: true, //required -- default is false
showCompact: false, //optional -- default is false
showRequestInViewIt: false, //optional -- default is false
requestShowOptions: false, //optional -- default is false
illURL: 'https://illiad.example.edu/illiad/illiad.dll', //required -- default is ''
locateURL: 'http://www.library.edu/primo-location-maps/{library_code}/{location_code}/{call_number}' //optional -- default is ''
});

...