How to let the user define a filename for an export


Objective: Let the user define a filename when triggering the export.

  1. In the Desktop UI go into the export format templates perspective and open the settings of the template you want to adjust.

  2. In the Variables Tab click on "New" and create a variable of type character String

    images/download/attachments/136613461/image2018-2-8_11_2_37.png
  3. In the File management Tab click on Extended options

    images/download/attachments/136613461/image2018-2-8_11_5_33.png
  4. Select the variable you created before. You can use Ctrl+Space to bring up the dialog.
    Additionally you could include other variables or functions, e.g. always include the current time.

    {?FormatTime {?GetTime}, "yyyy-MM-dd HH-mm"}_{%custom Text}

    images/download/attachments/136613461/image2018-2-8_11_7_0.png
  5. Now assign the file to the modules in your export template
    images/download/attachments/136613461/image2018-2-8_11_11_56.png

  6. Save.

  7. All set! Your users now can define their own filename when triggering the export!
    images/download/attachments/136613461/image2018-2-8_11_16_57.png images/download/attachments/136613461/image2018-2-8_11_17_5.png images/download/attachments/136613461/image2018-2-8_11_17_11.png