How to change the report download filename from uuid to filter name

Confluence User - 16 Apr, 2023

I have created report using the addon builder - Report Builder, report contains a filtered list, however when downloading the file, the filename comes as the UUID of the selected record, I would prefer to use the data list filter instead as its clear in context to what the saved report file is regarding to.

is there and css/javascript that I can use to change the file name to the URL request parameter?


e.g., "uuid.pdf" prefer "filter name.pdf"



reportbuilder;filters

3


19 Apr, 2023
confluenceUser
confluenceUser

Hi, perhaps you can try to use some custom JavaScript to the filename, like in https://stackoverflow.com/questions/44473557/javascript-change-name-of-file-on-download.

19 Apr, 2023
confluenceUser
confluenceUser

Where would I insert such code? In a html block in the report file?

19 Apr, 2023
confluenceUser
confluenceUser

Also how does this handle url request parameters from the data list filter?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print