Open kstapelfeldt opened 2 years ago
Use Case:
As a cataloguer, I would like to lookup terms from various external controlled vocabularies such as getty vocabularies and library of congress subject headings to use in describing the digital object. I would like the uri from the source vocabulary to be stored along with the title/name and other properties.
Implementation Notes:
Currently, the repository_item content type contains Entity reference type fields that point to one or more taxonomies. Taxnomies have a custom field called Authority Link, which consists of source, uri and alt text/label. Ideally, we can have a way to populate this authority link info automatically via the lookup.
In line entity form exposed in main form, autopopulated from the API and reviewed by the end-user.
Linked Data and Authority link as dependencies. https://github.com/Islandora/controlled_access_terms
Switched to Javascript implementation rather than working purely with Drupal's hook forms. The module uses the created endpoints from Linked Data with jQuery UI in order to create autocomplete suggestions for Authority Link.
Module repository is available at https://github.com/digitalutsc/authority-link-auto-complete.
Starting with https://www.drupal.org/project/linked_data_field?