-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate with Entityform #33
Comments
Hi Brad. This sounds like a great idea. How far have you dug into it? Do you have a sense of how to implement this integration? It looks like we would need to start by including the component type in the list returned by https://github.com/commonmedia/islandora_webform/blob/7.x/submodules/islandora_webform_ingest/islandora_webform_ingest.module#L676. We would also need to figure out how the submitted value is represented and how that value could be mapped into a mimetype which could then be mapped to, or into, a datastream. May be best to think in terms of adding hooks to support this, rather than hard-coding the entityform support directly? |
@patdunlavey Thank You for including a link to function islandora_webform_ingest_get_component_types() I immediately added 'term_reference' to the array and tested :-) Sure enough, the Islandora Ingest Mapping form appeared, but it is unusable: "Islandora Large Image Content Model provides no datastreams that can be populated from this webform field type." Field type 'term_reference' stores the term TID in 'webform_submitted_data'. |
@patdunlavey It doesn't necessarily have to integrate with Entityform... It could just have it's own implementation of a autocompleting taxonomy field, which inserts just the text value. |
Entityform provides a Term Reference field for Webform, which connects to Taxonomy. With it, you can create Autocompleting term fields, populated with people's names, places, or whatever controlled metadata you need.
This integration would greatly aid photo annotation efforts and many other object metadata collection efforts.
https://www.drupal.org/project/entityform
The text was updated successfully, but these errors were encountered: