We have a panel by name “Block Load Profile”. User needs to input a value in text variable and the related data is filtered on the report. Today when user downloads this data using Panel menu > Inspect > Data > Download CSV, the CSV fie has date appended to the panel name like “Block Load Profile-data-2024-08-02 11_47_08”.
We would like to add the value of Text Variable (passed by user as a filter) in the file name so for above example the filename will be “Block Load Profile-data-AL0100002-2024-08-02 11_47_08” where ‘AL0100002’ is the value passed entered by use in the text variable.
Tried to edit panel name and appended the variable name in the panel name e.g. Block Load Profile-data_{$DeviceNumber}. I was expecting that this will include the value of the variable in the downloaded file name. But downloaded file name had the variable name and not variable value passed by user.
Alok Rajput is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.