Include Zotero entry ID in BibTeX file export?
I would like to know if there is a way to include the Zotero entry ID as a custom field when exporting a collection. (By "Zotero entry ID", I mean the unique eight-character string that follows "https://www.zotero.org/users/user-number/items/" in the URL for a particular Zotero entry. For example, 'XALD6MVT' in this item in my personal collection: https://www.zotero.org/users/3809901/items/XALD6MVT.)
Here is the problem I'm trying to solve. I use Emacs to do all my research, and with the org-ref (https://github.com/jkitchin/org-ref) and helm-BibTeX (https://github.com/tmalsburg/helm-bibtex/) packages I can search for entries in a BibTeX file auto-generated by the Better BibTeX Zotero extension (https://retorque.re/zotero-better-bibtex/) and quickly insert them into any document. With the cursor on an entry so inserted, I can then select from a menu a number of options, such as opening the associated PDF, finding related works on Google Scholar, and copying the associated citation to the clipboard. If the BibTeX file included a field for the Zotero unique ID, I could create an Emacs function that allowed me to add to that menu the convenient option of opening the entry in Zotero.
Here is the problem I'm trying to solve. I use Emacs to do all my research, and with the org-ref (https://github.com/jkitchin/org-ref) and helm-BibTeX (https://github.com/tmalsburg/helm-bibtex/) packages I can search for entries in a BibTeX file auto-generated by the Better BibTeX Zotero extension (https://retorque.re/zotero-better-bibtex/) and quickly insert them into any document. With the cursor on an entry so inserted, I can then select from a menu a number of options, such as opening the associated PDF, finding related works on Google Scholar, and copying the associated citation to the clipboard. If the BibTeX file included a field for the Zotero unique ID, I could create an Emacs function that allowed me to add to that menu the convenient option of opening the entry in Zotero.
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
if (Translator.BetterTeX) reference.add({ name: 'key', value: item.itemKey })but the key is only unique to the library, not across library/groups.