Usage Scenario: Retrieving the Report in Base64 Format and Downloading it to the Device

In a management panel, users can first retrieve the report they created in Base64 format and then download the report to their devices using this data.

Steps

  1. UI Design module, create a button, for example: ‘Get and Download Report’
  2. With the button selected, from the Properties panel:
    • + ADD ACTIONOnClick → First, add the Get Report Base64 action.
      • Here, the report parameter to be downloaded is selected.
      • This action returns the report data in Base64 format.
  3. Add the Download Report action to the OnClick action chain of the same button after the Get Report Base64 action is completed.
    • Link the Base64 data returned from the Get Report Base64 action to the Base64 Data parameter.
      • The report is then decoded from Base64 format and downloaded to the user's device.