...
Code Block |
---|
def FileName = 'MyDownloadedFile' //or more typically a dynamically generated file name controller.addDownloadButton('Download Excel','/formulamanager.executeformula/JJ_dashboard_export_logic?output=xls&fileName=' + FileName) |
Note:
If no file name URL parameter is set, the name consists of the (unique) name of the logic and the time stamp.
The file name cannot contain the following characters and they will be replaced by an underscore when the file is generated:
\ / | : " * ? < > .
All special characters will be replaced with regular characters (e.g., ö, á → o, a).