it is currently not possible to link attachments under a different name with the attachment syntax.
In case you (or someone else) wants to change that, the corresponding code can be found in the application_helper.rb file (line 801).
A possible workaround is to use regular links. Copy the attachments download link (like https://my-example-openproject.org/attachments/1234/important.pdf) and create a link to it with
Beware: The link might break if you change your file/attachment host or move your openproject instance to another url (the attachment syntax wouldn’t break in that case).
Replies (1)
Hi,
it is currently not possible to link attachments under a different name with the attachment syntax.
In case you (or someone else) wants to change that, the corresponding code can be found in the application_helper.rb file (line 801).
A possible workaround is to use regular links. Copy the attachments download link (like
https://my-example-openproject.org/attachments/1234/important.pdf
) and create a link to it withBeware: The link might break if you change your file/attachment host or move your openproject instance to another url (the attachment syntax wouldn’t break in that case).
cheers,
Philipp