eliminar registros de forma masiva

34 views
Skip to first unread message

lydia marques

unread,
Jan 21, 2025, 5:34:13 PM1/21/25
to AtoM Users
Buenas, me gustaría saber si alguien conoce la forma de borrar varios registros en "borradores" de forma masiva, en vez de ir de uno en uno. Gracias.

Dan Gillean

unread,
Jan 22, 2025, 8:24:49 AM1/22/25
to ica-ato...@googlegroups.com
Hi Lydia, 

There is a command-line task that can delete all Draft descriptions: 
There is currently no easy way to selectively delete SOME Drafts and leave others in place. However, you could try to use some of the other command-line task and SQL query options to help. For example, you could create a temporary repository, move all descriptions you want to delete to that repository, and then use a task to bulk delete them. Tasks that could help include: 

There is a SQL example of how to move descriptions from one repository to another: 
The Update Publication Status task has options to target all descriptions associated with a specific repository, and you can control whether the publication status update affects descendant records in a hierarchy or not: 
The Delete Description task has a --repository option: 
And so on.

It is not perfect, but hopefully some combination of these tools will help make the work a bit easier. 

Cheers, 

Dan Gillean, MAS, MLIS
Business & User Experience Analyst
Artefactual Systems, Inc.
604-527-2056
he / him


On Tue, Jan 21, 2025 at 5:34 PM lydia marques <lydiamarq...@gmail.com> wrote:
Buenas, me gustaría saber si alguien conoce la forma de borrar varios registros en "borradores" de forma masiva, en vez de ir de uno en uno. Gracias.

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ica-atom-users/faab2b3b-2d1a-4289-aeba-91c31326252bn%40googlegroups.com.

lydia marques

unread,
Jan 22, 2025, 4:14:17 PM1/22/25
to ica-ato...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages