Download file from query node

Sometime, you want to empower your users to filter the table and download the filtered table. Acho App Builder provide an API Service to achieve this task.

Acho support download file from query nodes by action API ServiceDownload File. You can add a button on your app to trigger the action and allow users to download data as a file. Follow these steps to set it up:

  1. Select an element, such as a Button or a Clickable, to add an interaction that will trigger the download.

  2. In the Interactions panel, add a supported event(Click Button in this example).

  3. Then, add an action, select API ServiceDownload File.

  4. Select which data asset to download data from in the dropdown menu.("Sample_data" is used in this example).

  5. Select the file format of the download, there are two options:

    1. CSV: Comma-Separated Values is a popular file format for storing tabular data. It uses plain text with values separated by commas.

    2. JSON: JavaScript Object Notation is a lightweight data interchange format. It provides a structured representation of data using key-value pairs, arrays, and nested objects.

Is Public File determine whether or not the action will generate a public link for the file, remember to turn it on if you want to use the link to share with teammates.

In this example, when the button is clicked, it will downloads data from the node Sample_Data as a CSV file.

Last updated