Why do we use Document excel task ?
3 Likes
The Download Excel task enables application users to export the data displayed in a table to an Excel (.xlsx) file with a single click. This functionality is particularly useful for scenarios that require offline access, reporting, record-keeping, or further data analysis.
To configure the Download Excel task in your application, follow the steps outlined below:
1. Create the Download Excel Task Group
- Navigate to the Inventory section and open the Task Group module.
- Click Create to define a new Task Group.
- Within this Task Group, add a new task and set the Task Type to Download Excel .
2. Configure the Task Properties
In the Properties section of the Download Excel task, configure the following:
- Format : Select the desired file format (e.g., Excel) for downloading the table data.
- Set Title : Enter a title that will be displayed at the top of the downloaded Excel sheet.
- Data Path – Table ID : Provide the ID of the table to be exported. For example:
getVal('1736855697084270')
. - Once configured, save both the task and the Task Group .
3. Map the Download Excel Task Group
- Assign the newly created Download Excel Task Group to the OnClick event of the Download button from which the file is to be exported.
6 Likes