Download data by analysis

I’m making an application and I would like to download and save the bucket data as .CSV.

I’m currently using analize to generate the .CSV and save in the Files, but I haven’t found any function that allows me to download the .CSV to the machine.

Is there any way that allows me to generate this download?

To download a file in TagoIO, you can follow these steps:

  1. Navigate to the files section in your TagoIO account.
  2. Choose the file you want to download and click on it to open the file details.
  3. Copy the File URL from the file details page.

If you want to create a download link using a widget, you should create a variable in your bucket with the following JSON body:


{
  "variable": "list_download",
  "value": "Download CSV",
  "metadata": {
    "url": "https://url-download-from-file.com"
  }
}

Replace “https://url-download-from-file.com” with the actual URL of the file you want to download.

Now, you can select this variable to display in your table. This allows you to create a download link for your file within a TagoIO widget.

For more information on how each field in the metadata works, you can refer to the documentation here: Widget Metadata Field List.

Thanks, I applied this solution and it worked fine