Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

lyrasis/typed_labeled_fields

Repository files navigation

This was exploratory work toward making "new Islandora" usable for our client metadata. It was abandoned when we decided we could not support a hosting service for the new Islandora.

Dynamically create Solr fields based on the Identifier Type + Label (optional). This can be expanded and automated but more work is needed.

What is Typed labeled fields?

  1. Adds some metadata functionality.
  2. Automatically migrates the taxonomy terms for "identifiers".

What are the goals for Typed labeled fields?

Imports identifiers to use to generate dynamic Solr document fields.

How does Typed labeled fields work?

This module sets up a field formatter, field validator, field type, and field widget for a list of fields. Then it will modify the content going into Solr fields.

TL;DR

Instructions for installing and running.

  1. Install Module
  2. Add Typed Labeled Text (plain) field type to an Islandora_repository content type
  3. Enable the Solr Processor
  4. Add at least one 1 identifier to an existing Islandora object.
  5. Click on checkbox to enable "Enhanced Identifier Aggregated fields(Fake Fields)" processor and click save
  6. Go to vertical tab Enhanced Identifier Aggregated fields(Fake Fields)
  7. Click "Discovery & Compile Solr field names"
  8. Click on Fields > add the "Fake Field"
  9. Click save & reindex

Installation

Instructions for install within isle-dc or see [## A full dev setup] below

$ docker-compose exec drupal with-contenv bash

$ cd web/modules/contrib/

$ git clone https://github.com/lyrasis/typed_labeled_fields
$ drush pm:enable -y typed_labeled_fields

To check if it's installed and running

Go to /admin/help/typed_labeled_fields This loads the help page and should walk the user on how to set up the field in a way that's useful.

To enable (Solr plugin)

What is still needed?

Automate completely so the users doesn't need to occasionally add new values.

How to use

For detailed instructions please visit the help page. Admin > Help > Typed Labeled Fields /admin/help/typed_labeled_fields

Also the instructions are found in code within the .module file.

To Do

This really needs to be automated to be as useful as people are likely to expect it to be. Currently when new identifiers are filled in they are not dynamically added to the index. A CRON job or Action should be made to make this happen.

About

A set of abstract typed, labeled field types for Drupal/Islandora

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •