Simplifier Makers ClubSimplifier Makers Club
  • Docs
  • Knowledge
  • F.A.Q
  • Forum
  • Courses
  • Marketplace
  • Pricing
  • Login
  • Try for free
  • German
  • English
  • Try for free
  • Docs
  • Knowledge
  • F.A.Q
  • Forum
  • Courses
  • Marketplace
  • Pricing
  • Login
  • Try for free
  • German
  • English
  • Try for free
home/Knowledge Base/How to's/How to handle files selected with the FileUploader

How to handle files selected with the FileUploader

Written by Vitali Kurdasov
June 5, 2025

Uploading Files

To upload files within your Applications, the FileUploader (Widget ui_unified_FileUploader) is often used to enable the user to select a file for upload. But there are many different cases on the required file format depending on your use case (e.g., displaying it in a PDF Viewer or uploading the file). To simplify the file handling after selection, we have introduced new features to our Client-side Business Object SF_File to get the file in the required format for the following process.

Prerequisites

To follow the steps, Simplifier 9 / MAKERS CHOICE 25.05 or newer, and the current version of our Standard Content is required.

Usecase 1 – Selection of 1 file

If you have deactivated the multiple selection of files to be uploaded (Property ‘multiple’ is inactive), you know you can expect only a single file. In this case, connect the Client-side Business Object Function  SF_File -> getFile to the change event of your FileUploader.

If you do not configure the input mapping, it will return the file automatically with a base64 string. However, if you need the file to be in a different format (like a data URL or a Blob), you’ll need to map the constant value ‘true’  at the corresponding input parameter (returnDataUrl or returnBlob). In that case, don’t forget to also enable returnBase64 if you still want the base64 string included in the result.

Usecase 2 – Extract multiple files

If you have activated the multiple selection of files to be uploaded (Property ‘multiple’ is active), there might be one or more files chosen by the user. Thus, you need the files as a collection. In this case, connect the Client-side Business Object Function  SF_File -> getFiles to the change event of your FileUploader and use the Function’s Process Output. Everything else works like in Usecase 1.

We suggest using the datatype SF_File/SF_Files for your variables in the output mapping. Below, you can see how we use them and what the structure of those datatypes looks like.

Was this article helpful?

Yes  No
Related Articles
  • Fine-tuning and Running Custom AI Models in Simplifier
  • Using the Simplifier Teams App
  • How to integrate value help and suggestions in user inputs
  • How to integrate Simplifier in CI/CD pipelines
  • How to use Google reCAPTCHA v3 Essentials
  • How to use Simplifier Content Repository Plugin
Leave A Comment Cancel reply

You must be logged in to post a comment.

How to's
  • How to handle files selected with the FileUploader
  • How to integrate and use external libraries in Simplifier Apps
  • Working with Drag and Drop
  • Create Test Cases With The UI5 Test Recorder
  • Full-Text Search For PDF Documents
  • Full-Text Search For Excel Files
  • How to Implement an Approval App in Simplifier
  • Create a PDF Template via Plugin
  • Generating a PDF with Simplifier via Plugin
  • How to use Query Options in ODataV2 Connector
  • How to use TimePicker widget
  • How to set Simplifier environment variables in Open Shift
  • How to send and receive Push Notifications
  • Dynamic where-clause and repeatable statement
  • Version and Release Management in Simplifier
  • Logs and Monitoring in Simplifier
  • Use the Adobe PDF Embed API in your Simplifier Application
  • PDF Templates: make the Header/Footer content dynamic
  • Converting Text to Speech with the Google TTS Connector
  • Authentication through another window
  • Creating a ChatBot Client for ChatGPT
  • How to use Simplifier Content Repository Plugin
  • How to use Google reCAPTCHA v3 Essentials
  • How to integrate Simplifier in CI/CD pipelines
  • How to integrate value help and suggestions in user inputs
  • Using the Simplifier Teams App
  • Fine-tuning and Running Custom AI Models in Simplifier
Knowledgebase Categories
  • Getting Started 4
  • Best Practices 4
  • How to's 27
  • Layout & Design 4
  • Widgets 8
  • Cloud Services 6
  • Database Handling 1
  • Integrations 10
  • Plugins 6
  • Mobile Client 2

Using the Simplifier Teams App  

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.