Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: PFUN-12157

...

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).