Getting the file name as URL of uploaded file

Database & APIs

Hi,

I have created a simple upload pdf which will create a firebase document with name and also upload the pdf in firebase storage. My question is that how do I get the filenames of the pdf and put it as a link which can be downloaded? I am stuck on what to do next.

My question is similar to this one here. I was able to add cloud function using Serge Middendorf code but I'm stuck in the actions part (see photos).

Although there's a lot of resources for uploading images, it looks like there's not a lot for file uploads.

Can anyone point me to the right direction please?

What have you tried so far?

I've tried two different approach.

1. By creating the upload and submit button which is successful but stuck in the part where I have to get the filename and convert into URL.

  1. Added Cloud function but stuck on what to do after.

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