Hello, I can't seem to attach a PDF or any URL to the artwork type.
I'm using this statement in my translator:
artItem.attachments.push({
title: "Artstor Image Viewer",
mimeType:"application/pdf",
url:ivURL
});
where artItem is the Zotero artwork type object, and ivURL is a variable with the fully qualified URL to the file.
When I click the icon in the address bar, I get the entire citation into Zotero correctly. I also get a popup with a red X in it and the title "Artstor Image Viewer". I don't get the attachments under the citation.
In Scaffold, I see the correct object being created for the attachment using Zotero.debug.
I've looked through dozens of translators using Scaffold, I don't see any that use the artwork type so I am concerned that this type may not be fully functional.
The rest of my translator works fine.
I have other documents that I want to attach as well.
Any help would be appreciated.
Best,
John Justin
Director of Development
Artstor, Inc.