Hi,
I have an app where users can download either a zip file or a PDF for a company. These files are stored as File fields in the data service, which the app connects to. I use a download only file picker to allow users to download either file from the currently selected record in a table.
However, when I download one of these files (the zip, for example), all the other file pickers will also download the record’s zip instead of their corresponding fields in the record. This issue persists across records, so I only get zip files from all the file pickers and records onwards. If I refresh the page and download a PDF using the PDF file picker, then all the file pickers will only provide that PDF file again. In short, using a file picker to download a file from the data service locks all other file pickers to always download the same field.
Fixes I’ve tried:
- The files are set up per record properly in the data service. I can download the respective file types correctly from there.
- The file pickers have the correct value bindings. They are not duplicates, as the same file picker can provide a different record field if I refresh the page as mentioned before.
- The file pickers display the correct filename. Hovering over them shows that the PDF and zip file pickers do have the correct files associated with them, but are downloading the wrong field.
I’ve attached a gif showing the problem. Any ideas?