Filepicker is the frontend type business-process designed for managing file downloads.

The process of managing files via frontend should be built the following way:

  • Getting data in the frontend view;
  • Uploading files onto the server to get unique IDs for each file;
  • Making data model objects according to the files which were uploaded;
  • Posting data model objects into the database.

Filepicker usage

  1. Filepicker Get Properties is used to get files from frontend application. You get the files array of objects for further usage.

  2. If a single element was uploaded, get just the element with index = 0. For that, the Array Element block is used.

  3. The resulting array element must be uploaded to the server for further work with it. Server request POST /_files/ type of blocks are used for this purpose. After sending the file to the server, it obtains its unique ID. This ID is used to write the object to the database.

  4. File object is used to make new data model object using Expand-Make blocks.

  5. Server request POST type of block is used for posting the newly created data model object into the database.

AppMaster 101Crash Course

10 modules
2 weeks

Not sure where to start? Get going with our crash course for beginners and explore AppMaster from A to Z.

Get Started
AppMaster 101 Crash Course

Need More Help?

Solve any issue with the help of our experts. Save time and focus on building your applications.

headphones

Contact Support

Tell us about your problem, and we'll find you a solution.

message

Community Chat

Connect with other users to get help with platform.

Join Community