[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] bulk addition of divisions



Thanks Rory and John. Rory suggestion seem to do what we need to do!!!


Regards

Ranju

Ranju Upadhyay Rai
Library Programmer
University Library

Maynooth University, Maynooth, Co. Kildare, Ireland, W23 VP22

T: +353 1 708 3378  M: +353 87 98 43811
Ranju.Upadhyay at mu.ie<mailto:YourEmailHere at nuim.ie> W: https://eur03.safelinks.protection.outlook.com/?url=www.maynoothuniversity.ie%2Flibrary&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C873d669390604e55cf4708d6d52a6a8e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=OB7AXLzkRo17V4i8p9otrLW3sPX1CW7qfXjYTugNf9U%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C873d669390604e55cf4708d6d52a6a8e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=eiMwbySJO4fFEChYJAR671Ytkg79DUYDooO1IfuOokg%3D&amp;reserved=0>


________________________________
From: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of John Salter via Eprints-tech <eprints-tech at ecs.soton.ac.uk>
Sent: Friday 10 May 2019 10:03:22
To: eprints-tech at ecs.soton.ac.uk; Ranju Upadhyay; Rory McNicholl
Subject: Re: [EP-tech] bulk addition of divisions


If it doesn't work, I've got a bin script that might help.

It can basically do:



Search eprint dataset for division=A

For every eprint the results list:

- Get the existing divisions

- append Division=B to the divisions array (if it's not there already)

- Commit



Cheers,

John



From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Ranju Upadhyay via Eprints-tech
Sent: 10 May 2019 09:59
To: eprints-tech at ecs.soton.ac.uk; Rory McNicholl <Rory.McNicholl at london.ac.uk>
Subject: Re: [EP-tech] bulk addition of divisions



Thanks Rory, I will try this out.



Thanks

Ranju



Ranju Upadhyay Rai

Library Programmer

University Library



Maynooth University, Maynooth, Co. Kildare, Ireland, W23 VP22



T: +353 1 708 3378  M: +353 87 98 43811

Ranju.Upadhyay at mu.ie<mailto:YourEmailHere at nuim.ie> W: https://eur03.safelinks.protection.outlook.com/?url=www.maynoothuniversity.ie%2Flibrary&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C873d669390604e55cf4708d6d52a6a8e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=OB7AXLzkRo17V4i8p9otrLW3sPX1CW7qfXjYTugNf9U%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C873d669390604e55cf4708d6d52a6a8e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=eiMwbySJO4fFEChYJAR671Ytkg79DUYDooO1IfuOokg%3D&amp;reserved=0>



________________________________

From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of Rory McNicholl via Eprints-tech <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Sent: Friday 10 May 2019 09:33:56
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>; Ranju Upadhyay
Subject: Re: [EP-tech] bulk addition of divisions



Hi Ranju,



If you use the admin search to search for all items in division A, you can then use the "batch edit" feature, displayed on the results page, to append division B to all those items in one go.



(If you've not used the batch edit feature before, I'd suggest trying it out on a very small result set first).



Thanks,



Rory



Rory McNicholl

Team Lead - Research Technologies

CoSector, University of London

Senate House

Malet Street

London

WC1E 7HU



t: +44 (0)20 7863 1344

e: rory.mcnicholl at london.ac.uk<mailto:rory.mcnicholl at london.ac.uk>

w: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcosector.com%2Fdigital-research%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C873d669390604e55cf4708d6d52a6a8e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0w%2FaBp7GH1QIHW3OiPSCiYDvtLtOKGIPQYjpOQfN5aE%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcosector.com%2Fdigital-research%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C873d669390604e55cf4708d6d52a6a8e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0w%2FaBp7GH1QIHW3OiPSCiYDvtLtOKGIPQYjpOQfN5aE%3D&amp;reserved=0>



The University of London is an exempt charity in England and Wales.

________________________________

From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of Ranju Upadhyay via Eprints-tech <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Sent: 10 May 2019 09:27
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] bulk addition of divisions



Hi List,



we have a task of adding divisions/department to existing (several hundred) eprints in our IR.



So, currently the items are assigned department/division "A" and now we need to give them Department "A" and Department "B". What would be the most effecient way of doing this?



I know we can always edit individual item from the interface. However I was wondering if there is any other way too, since we have a very large number of items to be edited.



Regards

Ranju



Ranju Upadhyay Rai

Library Programmer

University Library



Maynooth University, Maynooth, Co. Kildare, Ireland, W23 VP22



T: +353 1 708 3378  M: +353 87 98 43811

Ranju.Upadhyay at mu.ie<mailto:YourEmailHere at nuim.ie> W: https://eur03.safelinks.protection.outlook.com/?url=www.maynoothuniversity.ie%2Flibrary&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C873d669390604e55cf4708d6d52a6a8e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=OB7AXLzkRo17V4i8p9otrLW3sPX1CW7qfXjYTugNf9U%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C873d669390604e55cf4708d6d52a6a8e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=eiMwbySJO4fFEChYJAR671Ytkg79DUYDooO1IfuOokg%3D&amp;reserved=0>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190510/284b501e/attachment-0001.html