How to capture uploader details


#1

Hi,

I have added just the upload button on a single Shopify page to allow customers to upload photos and videos, and it works fine (Uploads). However, I am facing two issues:

  1. I’m not able to capture the uploader’s name. Is there a way to do this?
  2. Once the file is uploaded, can there be a confirmation to uploader (upload complete, etc). Ideally, it would be nice if we could give the user an option to submit the form including the selected the file, and then give a confirmation

Are there any options for the above?

Thanks!
Viksit


#2

Hi @viksit

Uploadcare doesn’t support adding custom data to files yet, so if you need to capture names or other information, you should save this data on your end. We’re going to make possible to add custo meta to files in near future, stay tuned.

I’m not quite sure I understood the second question. If you’re looking for a callback function that invokes when a file is completely uploaded, you can use the onUploadComplete method of a widget instance:


If you meant something else, please, elaborate.