EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10364
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Access Namedset values from EPS
- To: <eprints-tech@ecs.soton.ac.uk>, "Alan.Stiles [He/Him/They]" <alan.stiles@open.ac.uk>
- Subject: Re: [EP-tech] Access Namedset values from EPS
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Wed, 29 Apr 2026 11:35:19 +0100
Hi Alan,
I believe the tags function should work on both set and namedset fields. E.g.
my $eprint_ds = $repo->dataset(
'eprint' );
my @types = $eprint_ds->get_field( 'type' )->tags; #
namedset
my @statuses = $eprint_ds->get_field( 'eprint_status'
)->tags; # set
use Data::Dumper;
print STDERR "types: ".Dumper( @types )."\n\n";
print STDERR "statuses: ".Dumper( @statuses )."\n";
I will look into adding an "Additional Functions" section to each of the MetaField pages listed under https://wiki.eprints.org/w/Category:EPrints_Metadata_Fields
Regards
David Newman
CAUTION: This e-mail originated outside the University of Southampton.CAUTION: This e-mail originated outside the University of Southampton.Hi,Am I missing a mechanism to access the options of a Namedset outside of an input metafield? e.g. in an EPScript or perl script? I’m not seeing anything in the wiki or looking at the code.
Cheers,
Alan
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
- References:
- [EP-tech] Sherpa Romeo API -> Open Policy Finder API
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- [EP-tech] Access Namedset values from EPS
- From: "Alan.Stiles [He/Him/They]" <alan.stiles@open.ac.uk>
- [EP-tech] Sherpa Romeo API -> Open Policy Finder API
- Prev by Date: Re: [EP-tech] Sherpa Romeo API -> Open Policy Finder API
- Next by Date: Re: [EP-tech] Sherpa Romeo API -> Open Policy Finder API
- Previous by thread: [EP-tech] Access Namedset values from EPS
- Next by thread: Re: [EP-tech] Sherpa Romeo API -> Open Policy Finder API
- Index(es):
