Marie-Jean THORAVAL
unread,6:01 AM (13 hours ago) 6:01 AMSign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to zotero-dev
I was expecting that changing "select" to "open" in a link to a parent item would simply open that item's best attachment — the same thing a double-click on the item does. But it seems that a zotero://open link with the parent item key does not do anything (only a debug warning).
Would it be possible to add this? A link to the parent item would be more stable than a link to a specific attachment, which silently stops working when that attachment is replaced — e.g. a preprint PDF swapped for the published version, or a re-downloaded file. ZoteroPane.viewItems already defines the resolution (getBestAttachment, then the URL field, then DOI), so the open handler could fall back to the same logic.