In a sales tracking application, users need to be able to download the generated ‘2025 Sales Report’ to their devices and review it offline. This is done by clicking the ‘Download Report’ button on the user report screen.
Adding a Report Download Action
Enter the UI Design module and drag and drop a Button element from the Elements panel on the left side.
- In the Properties panel, enter ‘Download Report’ in the Label section of the button.
- Select the button and add the OnClick → Device → Get Report Base64 action from the + ADD ACTION menu.
- Then add the OnClick → Device → Download Report action from the + ADD ACTION menu again.
Configuring the Download Report Action
- In the Get Report Base64 action, select the report to be downloaded (for example, ‘2025 Sales Report’).
- In the Download Report action, go to the Report Base64 field and select the Action Results → Get Report Base64 action using the Symbol Picker.
- Save the configuration.
Post-Process
- When the user clicks the ‘Download Report’ button, the report is converted to Base64 format and downloaded to their device.
- The downloaded report can be opened offline or shared on the user's device.