File Download Widget

I have a workflow where I have to list the files in a folder for the user to download based on the input from user. It could be one file, or multiple excel files. So, I have to create multiple “Download File” links for the user to download the files. When I run it through the loop, I always get the last file. However, I realized that it is showing so because of the variable name is same. Now, I am concatenating the row ID to the variable, so the variable is unique. The problems I am facing are:

  1. How can I change the File Path Variable dynamically?
  2. All this should come in a tabular format so I can provide the link to the user.

Thank you for your support.

Hi,
Unfortunately, it is currently not possible to dynamically generate pages with a varying number of widgets in them. What you can do is put your widget in a component and the component into a loop that loops through the files. Then the user will see one page for each download and when they click “Next” they will see the next downloadable file.
Kind regards,
Alexander

Thank you @AlexanderFillbrunn for the response. I will look for alternate ways to address this.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.