Renaming attachments in shared groups

Hi All,
I'm using Zotero 10 and am trying to rename attached files in a shared group library. But, it doesn't work at all. I have to move the file into my local library to get it to work. Any suggestions?
Thanks!
  • dstillman Zotero Team
    What exactly are you trying to do? Zotero always renames attached files automatically — you don't have to do anything to get that to happen. If you mean that you've set a custom filename format in the settings, you as an admin have to do that for the group specifically in Settings → General, separately from the setting for your personal library.
  • Hi dstillman, thanks for your question. To answer your question, I forgot to mention that the renaming function doesn't work when I first add the file and then add in the bibliographical information in a group library. Would you know what the solution might be? Right now, I'm solving the problem by moving the references to my local library and then renaming the files through Zotero's system preferences button. Thanks!
  • dstillman Zotero Team
    edited 19 days ago
    Can you explain exactly how you're adding files and how you're determining that the files aren't renamed? Zotero generally renames files by default, and you don't need to do anything special to get that to work. You certainly don't need to copy files to your personal library.
  • Hi dstillman,
    Here is what is happening, step-by-step:
    1) I have a shared library with my research assistant.
    2) My research assistant uploads the images of the archival files without entering any of the bibliographical information.
    3) At this point, the file name then looks like this:
    https://s3.amazonaws.com/zotero.org/images/forums/u17488786/t9dvhmpyfepsn4drm1in.png
    4) I then enter all of the bibliographical information.
    5) Then, I hit the renaming button (the box with the two circular arrows) on the row labeled "Filename"
    6) The file name changes but not correctly. It looks like this:
    https://www.dropbox.com/scl/fi/xeiue4ilyv1zyipr2p19v/Screenshot-2026-11-02-at-12.35.27-PM.png?rlkey=tdbhwuplxb5noq3pov3zqoh6x&dl=0
    7) But, it is supposed to look like this using my own template: https://www.dropbox.com/scl/fi/vf27rox7avtbijdr81al8/Screenshot-2026-11-02-at-12.36.22-PM.png?rlkey=nts7bqhz99555ffdqpwwvihks&dl=0
    8) To fix this, I then move the reference to my local library and then go to "Configure File Renaming" in Zotero settings and hit "Rename Files"
    9) The file then appears properly as: https://www.dropbox.com/scl/fi/7b06g3oydsqadiomeeka3/Screenshot-2026-11-02-at-12.38.54-PM.png?rlkey=9gqrac5bvnc3e23mpyi52ki92&dl=0

    Any clues as to what I am doing wrong? I would like to skip the step of moving hundreds of references with attached files to my local library. Thanks!
  • tnajdek Zotero Team
    Your template is slightly misformatted: the | format part is not part of the spec and is quietly discarded, so your template is effectively:
    {{ if itemType == “letter” }}
    {{ date }} - {{ authors }} - {{ title }}
    {{ else }}
    {{ firstCreator }} - {{ date }} - {{ title }}
    {{ endif }}


    The more likely problem, though, is that the filename format is set per library. It’s possible that the template you configured applies only to your personal library, while the group still uses its own format. That would explain why renaming works after you move items to your personal library. There is a Library picker at the top of the “Configure File Renaming” dialog, so please double-check that the correct template is configured for the shared group library.
  • @tnajdek, Ahh, the file renaming is by library! I didn't realize that. Thank you so much. Also, regarding my file renaming template, what should the correct formatting be? That is, where should | format be in my template? Sorry, I'm new to all of this.
  • tnajdek Zotero Team
    The template I’ve posted above is the correct version of the one in your screenshot. For more details, please see https://www.zotero.org/support/file_renaming
Sign In or Register to comment.