Supabase Storage / Public URLs / Connecting Storage and Table

Database & APIs

Hey there,

Here's the challenge I'm facing, and don't know how to go about that, super frustrating:

I'm uploading pictures to Supabase Storage, using built-in Flutterflow function, and it works nicely, but then I have NO IDEA how to get publicURLs of these just uploaded images, and create a new entry in my Table that's holding these URLs (which are then retrieved and used to populate the UI).

I really need help.

don't mind screenshot

What have you tried so far?

Directions I've considered:
- creating custom function to list all files in the specified Supabase Storage Bucket (tried a lot of ideas but nothing worked)
- creating some kind of API call on Buildship, and trying to do it over there (got confused too many times)
- thought that maybe there is a way to write some kind of a function/trigger entirely on the Supabase side, but it seems Storage is somehow limited to when it comes to doing such functions.
- considered writing new function to upload to supabase, get public url, and populate table in one custom function (but run out of energy middle of the night)

Did you check FlutterFlow's Documentation for this topic?
No
2
2 replies