How to delete in mass contents of a field?
Hi,
Is there a way to delete in mass the content of a field? I know we can use zutilo to add or replace the content of fields but if we want, not to add or change but to delete, I don't find the way.
Is there a way to delete in mass the content of a field? I know we can use zutilo to add or replace the content of fields but if we want, not to add or change but to delete, I don't find the way.
https://www.zotero.org/support/dev/client_coding/javascript_api
Examples:
https://github.com/redleafnew/zotero-javascripts
Empty extra:
https://github.com/redleafnew/zotero-javascripts/blob/main/03empty-the-extra-field.js
Copy something like {"itemType": "book", "extra": ""} to the clipboard and use "Paste all item fields".
@Johnmy : I'm a little scared but these are great tools I didn't knew
@qqbb : it's more my "range" to copy / paste with zutilo. Questions : Why do I have to put "book"? It seems to work with article, document, etc. And what is the name for the call number? If I copy paste {"itemType": "book", "call number": ""}, it doesn't change anything.
Note that the Extra field can have mutiple lines corresponding to multiple additional fields. Zutilo can't delete those individually. This is possible with Zotero's JavaScript API, but more complicated.
In any case, remember to back up your Zotero data.
Anyway, thank you.
And thank you for reminding me to back up my Zotero data!