Download File Action Implementation Steps

1. Defining Action in UI Design

  1. Open your project on the Kuika platform.
  2. Switch to the UI Design module.
  3. Add a Button component for file download (like “Download File”).
  1. Select the button and set the appropriate trigger (OnClick, etc.) from the + ADD ACTION menu.
  2. Add the Device > Download File action.

2. Configuring Parameters

  • File Name (String, required):
    • Specifies the name under which the file to be downloaded will be saved on the device.
    • Example: “report2025.pdf”
    • It is usually defined using data sources such as Action Result, Current, Form Component, Screen Input or Fixed and can be bound via Symbol Picker.
  • Data (String, mandatory):
    • Represents the file content in Base64 format.
    • Example: data.base64File
    • It is usually defined using data sources such as Action Result, Current, Form Component, Screen Input or Fixed and can be bound via Symbol Picker.