EPrints Technical Mailing List Archive
Message: #05290
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Subject trees
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Subject trees
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Wed, 6 Jan 2016 17:35:01 +0000
Hi all, Anyone have any experience with updating the subject tree via the API? (using 3.3.10 but current github module for EPrints::DataObj::Subject looks similar) I’m trying to add a new top level entry with the following code snippet… my $rootsubj = EPrints::DataObj::Subject->new($repository,"ROOT"); exit unless defined($rootsubj); my $newsubj = $rootsubj->create_child("newid",[{name=>"New Top Level Subject"}],0); It creates the subject, but orphaned rather than linked to the ROOT object as I’d expect… Any clues? Alan Stiles Digital Repository Developer Library Services, The Open University |
- Prev by Date: [EP-tech] Suggested changes to EPrints 3 in 2016
- Next by Date: [EP-tech] Re: Subject trees
- Previous by thread: [EP-tech] Suggested changes to EPrints 3 in 2016
- Next by thread: [EP-tech] Re: Subject trees
- Index(es):