EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04745
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: How to set a field to be multilang (Imports brake)
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: Adam Field <af05v@ecs.soton.ac.uk>
- Date: Tue, 22 Sep 2015 21:13:35 +0100
Sorry for the delays, I've been on leave for a couple of days. I would write a simple test script. Something like this: ===================================================== #!/usr/bin/perl -I/opt/eprints3/perl_lib use EPrints; my $ep = EPrints->new(); my $repo = $ep->repository( "myrepo" ); #or whatever my $ds = $repository->dataset('eprint'); my $field = $ds->field('title'); #or whichever field we're talking about if (defined $field->get_property('get_value)) { print "DEFINED!!!\n"; } else { print "NOT DEFINED\n"; } ===================================================== ...then use this to test different ways of doing things so that we can be sure the conditional actually does work. Note I've not compiled this, so it will need some debugging. -- Adam Field Business Relationship Manager and Community Lead EPrints Services
|
- References:
- [EP-tech] Re: How to set a field to be multilang
- From: Timothy Miles-Board <timothy.miles-board@ulcc.ac.uk>
- [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: Adam Field <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: Adam Field <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: Adam Field <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: How to set a field to be multilang (Imports brake)
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: How to set a field to be multilang
- Prev by Date: [EP-tech] Re: Advanced Search by date
- Next by Date: [EP-tech] Re: Import Medatada and Files
- Previous by thread: [EP-tech] Re: How to set a field to be multilang (Imports brake)
- Next by thread: [EP-tech] Re: How to set a field to be multilang (Imports brake)
- Index(es):