Custom exporter - linked attachments
Hi,
I have a customised RIS exporter (for import into other apps such as Tinderbox). It seems to work fine, but because I've used Zotfile to move my PDFs to a separate directory, the L1 field doesn't get populated.
Within the .js file, what data structure and fields list the linked attachments? I.e. what code gives me the local file names for the linked attachments? Then I can just create a custom RIS field to put the file names into.
I have a customised RIS exporter (for import into other apps such as Tinderbox). It seems to work fine, but because I've used Zotfile to move my PDFs to a separate directory, the L1 field doesn't get populated.
Within the .js file, what data structure and fields list the linked attachments? I.e. what code gives me the local file names for the linked attachments? Then I can just create a custom RIS field to put the file names into.
.localPath
on the attachment object (as opposed to.defaultPath
, which along with.saveFile
won't be populated in Quick Copy mode).Many thanks.
Would you @lyndondrake kindly share how you altered the RIS.js file? I've been struggling to modify the RIS.js file to add the attachment to bring over to Tinderbox. I did however manage to alter the file to bring over the cite key! so there is some hope yet for me.
All best,
Maurice