EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04753
< 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: George Mamalakis <mamalos@eng.auth.gr>
- Date: Wed, 23 Sep 2015 15:58:41 +0300
Hi Adam,
Please excuse me for still being mostly unsure as to what you wanted me to do (don't forget, I'm still an EPrints newbie!), but I -think I- followed your directions and ran your script for the two functions: get_value and set_value, and for both functions the outcome was "DEFINED". I hope that this was what you asked me, otherwise you'll have to excuse my ignorance again:). I just made two corrections in your script in order for it to run, so here it is: #!/usr/bin/perl -I/usr/share/eprints3/perl_lib use EPrints; my $ep = EPrints->new(); my $repo = $ep->repository( "myrepo" ); #or whatever my $ds = $repo->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"; } On 22/09/2015 11:13 μμ, Adam Field wrote: Sorry for the delays, I've been on leave for a couple of days. -- George Mamalakis IT and Security Officer, Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki), PhD (Aristotle Univ. of Thessaloniki), MSc (Imperial College of London) School of Electrical and Computer Engineering Aristotle University of Thessaloniki phone number : +30 (2310) 994379 |
- Follow-Ups:
- [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)
- 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: "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 (Imports brake)
- From: Adam Field <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: How to set a field to be multilang
- Prev by Date: [EP-tech] Re: [SOLVED] Re: Best way to import local (or remote) files through EPrints' XML file
- Next by Date: [EP-tech] Re: Advanced Search by date
- 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):