Feature Suggestion: Flag the Primary/Default Attachment
Let me preface this by saying that I am enjoying version 8 so far! Thank you for your work!
I would like to suggest a feature that seems to have been awaited by a few people and as early as 2013:
https://forums.zotero.org/discussion/29638/how-to-set-default-pdf-to-be-displayed-via-view-pdf
https://forums.zotero.org/discussion/83491/decide-which-child-file-to-open-by-default
https://forums.zotero.org/discussion/105392/if-i-put-more-than-one-pdf-in-an-item-how-can-i-set-a-certain-pdf-to-be-the-default-one
https://forums.zotero.org/discussion/106323/add-right-click-options-to-choose-the-primary-attachment-for-an-item-with-multiple-attachments
The feature is a way to set the primary (or default) attachment of a parent item. The primary attachment is the one opened when double clicking the parent item. The process of setting this flag could be, for example, via the right-clicking context menu or the item pane. Some visual indicator would be neat, but not essential.
Now let me conclude with a possible workaround, which I have tested once and therefore can turn out unreliable. It is based on the fact that the primary attachment seems to be the one that was added least recently to one's Zotero instance (or library?). Let me point out, that this is different to the attachment least recently added to the parent item.
So here is a possible WORKAROUND:
1. Gather all attachments under one parent item
2. Right-click each attachment and pick “Show in Finder” (MacOs) or - I assume - “Show in Explorer” (Windows)
3. Create a new parent item and add your primary attachment from finder/explorer
4. Add the remaining attachments
5. Delete the original parent item from step 1
I would like to suggest a feature that seems to have been awaited by a few people and as early as 2013:
https://forums.zotero.org/discussion/29638/how-to-set-default-pdf-to-be-displayed-via-view-pdf
https://forums.zotero.org/discussion/83491/decide-which-child-file-to-open-by-default
https://forums.zotero.org/discussion/105392/if-i-put-more-than-one-pdf-in-an-item-how-can-i-set-a-certain-pdf-to-be-the-default-one
https://forums.zotero.org/discussion/106323/add-right-click-options-to-choose-the-primary-attachment-for-an-item-with-multiple-attachments
The feature is a way to set the primary (or default) attachment of a parent item. The primary attachment is the one opened when double clicking the parent item. The process of setting this flag could be, for example, via the right-clicking context menu or the item pane. Some visual indicator would be neat, but not essential.
Now let me conclude with a possible workaround, which I have tested once and therefore can turn out unreliable. It is based on the fact that the primary attachment seems to be the one that was added least recently to one's Zotero instance (or library?). Let me point out, that this is different to the attachment least recently added to the parent item.
So here is a possible WORKAROUND:
1. Gather all attachments under one parent item
2. Right-click each attachment and pick “Show in Finder” (MacOs) or - I assume - “Show in Explorer” (Windows)
3. Create a new parent item and add your primary attachment from finder/explorer
4. Add the remaining attachments
5. Delete the original parent item from step 1
Upgrade Storage
https://github.com/sharpevo/zotero-pdfkit
There is however a script for the Actions & Tags plugin that does that trick.
https://github.com/crnkv/Zotero-Action-Scripts-Collection/blob/master/Set This as Default PDF.js
The ability to set the default attachment to be opened has been promised.
https://forums.zotero.org/discussion/comment/436279/#Comment_436279
(https://github.com/crnkv/Zotero-Action-Scripts-Collection/blob/master/Set This as Default PDF.js)
for the plugin "Actions & Tags"
(https://github.com/windingwind/zotero-actions-tags?tab=readme-ov-file#-install)
does the trick very efficiently. Thank you for directing me to it.
The caveat is though that I don't know if the codes are trustworthy.