Add multiple PDFs to a reference, the previous ones will be overwritten
When adding multiple pdfs to a reference, the previous files will be overwritten because the automatic naming will give them the same name. Previously, the automatic naming would add 2/3/4/5 to the end of the file name to distinguish them, so all attachments will be preserved.
Background: I have a reference item without any attachments.Now I want to add two pdfs to this reference, one for the main text and one for the supplementary material.
Subdirectory:{{publicationTitle}}
File name:{{ firstCreator suffix=" - " }}{{ year suffix=" - - " }}{{ title truncate="30" }}
Operation:
1. I right-click to add an attachment and select the PDF of the main text. The PDF will be automatically named 'eng et al. - 2020 - - Remote sensing estimation of c.pdf'. Opening the PDF will display the main text.
2. I add an attachment again and select the PDF of the supplementary material. The PDF will also be automatically named 'eng et al. - 2020 - - Remote sensing estimation of c.pdf'. At this moment, there is only one PDF file in the local folder ('eng et al. - 2020 - - Remote sensing estimation of c.pdf'). Open the second PDF attachment to display the supplementary material. Opening the first PDF attachment will also display the supplementary material.
In the previous usage, when I added the second pdf, it was automatically named 'eng et al. - 2020 - - Remote sensing estimation of c2.pdf', with a '2' added to the end compared to the first one. So both pdfs can be saved.