EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06095
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Custom validation and new MetaFields (institutional id, orcid id)
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Custom validation and new MetaFields (institutional id, orcid id)
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Fri, 18 Nov 2016 14:55:52 +0000
Hi Clinton, Have you seen this:
https://github.com/eprints/orcid_support - and specifically
https://github.com/eprints/orcid_support/blob/master/lib/plugins/EPrints/MetaField/Orcid.pm ? If you are re-purposing a field, I'd be careful e.g. if the new fieldtype has a lower character limit, you could lose data. I normally have a preliminary check of the data - in the database - trying to find data that wouldn't fit into the new field type. Are you aware of validation triggers? Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Graham, Clinton T We are soliciting an Institutional ID and ORCID ID for our users and for our deposits. Each of these require custom validation. It seems
the best place for this validation is in field_validate.pl, presumably by creating new MetaFields for each of these entries and keying on the new MetaField types. Is this standard practice? A brief search doesn't pull documentation or examples of subclassing new MetaFields. Are there any concerns with adjusting the field types for these fields, for which data already exists in deposited records? Enjoy, - Clinton Graham Systems Developer University of Pittsburgh | University Library System 412-383-1057 |
- References:
- [EP-tech] Custom validation and new MetaFields (institutional id, orcid id)
- From: "Graham, Clinton T" <ctgraham@pitt.edu>
- [EP-tech] Custom validation and new MetaFields (institutional id, orcid id)
- Prev by Date: [EP-tech] Custom validation and new MetaFields (institutional id, orcid id)
- Next by Date: Re: [EP-tech] Debug Creator browse view generation
- Previous by thread: [EP-tech] Custom validation and new MetaFields (institutional id, orcid id)
- Next by thread: [EP-tech] copy record from one archive to another (with screen-plugin?)
- Index(es):