How to upload a file from local storage and store it in the "students" collection in Firebase via FlutterFlow?

Database & APIs

Hello,

I’m working on a school management application using FlutterFlow, and I want to implement the following functionality:

  1. Goal:

    • Allow a user (e.g., admin staff) to upload a file (like a photo or a supporting document) from their local device.

    • Save the file in Firebase Storage.

    • Store the file’s URL or path in a Firebase collection linked to a student profile (e.g., students > [student_id] > supporting_document).

  2. Specific Questions:

    • Which widget or action should I use to upload the file from the local device to Firebase Storage?

    • How can I link the uploaded file’s URL to the respective student’s record in the students collection?

    • Is there an example or tutorial available for this kind of setup in FlutterFlow?

Thank you in advance for your help!

What have you tried so far?
  • I’m using FlutterFlow with Firebase.

  • My students collection has fields such as name, email, date_of_birth, etc.

  • I want to add a supporting_document field to store the uploaded file’s URL.

Did you check FlutterFlow's Documentation for this topic?
No
1 reply