Module Omeka-S pour dupliquer des contenus dans le dashboard
This module allows logged users in the Admin Dashbord to quickly make a duplicate operation on resources, which could be helpful when a lot of items are very similar.
Once installed and activated, the module adds a new button in the actions list in the browse View. Clicking this button will copy and paste in a new item all properties, class, modele… of the selected item.
See general end user documentation for Installing a module
It works with Ajax calls to the REST API of the Omeka S installation which transports item’s datas in JSON-LD format.
One call is a GET one to make a READ API operation on the selected resource’s data (GET /api/items/:id), the JSON-LD response is passed to a POST call fot creating a new resource (POST /api/items)
A few parameters need to be customized directly in the asset/item-copy.js file (starting lines of the file)