[EP-tech] Copy/Duplicate Record

David R Newman drn at ecs.soton.ac.uk
Fri Aug 28 15:22:34 BST 2020


Hi James,

If you are using "Use in template" or "New version" you can change the 
following line in perl_lib/EPrints/Plugin/Screen/EPrint/UseAsTemplate.pm 
or perl_lib/EPrints/Plugin/Screen/EPrint/NewVersion.pm:

my $inbox_ds = $self->{session}->get_archive()->get_dataset( "inbox" );

To 'review' or 'archive' or whatever you want.  This is admittedly not 
very nice as it requires hacking core code. However, I am not aware of 
anyway of changing this otherwise.  I know that Symplectiic Repository 
Tools 1 configuration for EPrints allows you to specifiy what status new 
items created by it take. If you use(d) that maybe that was what you 
were thinking about.

Regards

David Newman


On 28/08/2020 14:55, James Kerwin via Eprints-tech wrote:
> Hi All,
>
> Silly question: When a record in EPrints is copied or duplicated it 
> currently gets created in the users work area.
>
> I'm sure there was a way to alter this behaviour. I've been looking 
> for it all afternoon and now I'm questioning if such an option 
> exists (I'm SURE I've seen it somewhere).
>
> If anybody has this info to hand can you nudge me in the right direction?
>
> Thanks,
> James
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7C%7C6c22592554bc4c45f49108d84b5dd176%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=y6ev5ZH7xs8KQlSFy%2FFKY4dXQjjDvmJ0M3%2B8VB7aIIQ%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7C6c22592554bc4c45f49108d84b5dd176%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=bkpNvRdMKV%2BFl0osTIPIVekuS7yDFZebTtJj9lE6y44%3D&reserved=0


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=01%7C01%7C%7C6c22592554bc4c45f49108d84b5dd176%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=3p%2FO6PM0b3ScMr788nzQxPW3tcuTbzIpuDQ2IuNeCso%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200828/367e67c1/attachment.html 


More information about the Eprints-tech mailing list