Download File From Server Action Application Steps
1. Define the Action in UI Design
Open your project on the Kuika platform.
Go to the UI Design module.
Create a button for the file download process (e.g., ‘Download File’).
Select the button and add the Device > Download File From Server action from the + ADD ACTION menu according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.).
3. Configure Action Parameters
File Name: Specify the name of the file to be downloaded (e.g., report.pdf). You can enter this value as a fixed value or link it dynamically to form components, action results, or variables using the Symbol Picker.
File ID: Enter the unique ID number of the file defined in the system. This ID is usually obtained automatically via ActionResult as a result of the ‘Upload File’ action (ActionResult.UploadFile.fileId).
These parameters can be taken from sources such as Fixed, Current, Action Result, Form Component, and can be linked with Symbol Picker.
Once the configuration is complete, click the SAVE button.