Page 1 of 1

How do I get the FileName after uploading?

Posted: Fri May 08, 2015 11:23 pm
by Jason Cheek

After uploading an image file, how do I get the FileName so I can display it on another page? For example, a profile image.


How do I get the FileName after uploading?

Posted: Sat May 09, 2015 5:31 am
by Evgene Karachevtsev

Hello Jason,

Could you please clarify do you upload an image to the Appery.io db or to the Media Manager?


How do I get the FileName after uploading?

Posted: Thu May 14, 2015 2:33 am
by Jason Cheek

I'm sorry for the delay in my response. I was uploading it to the database. I do not know about the media manager.


How do I get the FileName after uploading?

Posted: Fri May 15, 2015 3:13 am
by Yurii Orishchuk

Hi Jason,

After you upload file with upload service this service will return your "filename" and "fileurl" response parameters.

Thus your response settings for upload service should be as following:
Details: http://prntscr.com/75csoj/direct

So on "success" action of this service you can add event handler or use mapping where you can store these response parameters ("filename" and "fileurl") to some storage.

Ten you can use stored in storage values in way you need.

Regards.


How do I get the FileName after uploading?

Posted: Wed Dec 02, 2015 2:15 pm
by Amr Osman

My File Upload doesn't return file name Yurii. ???
Please Help.

Image


How do I get the FileName after uploading?

Posted: Sat Dec 12, 2015 4:51 am
by Illya Stepanov

You can create such parameters for your service.


How do I get the FileName after uploading?

Posted: Sat Dec 12, 2015 1:45 pm
by Amr Osman

@Illya Stepanov
Yes I did So. Thanks for reply and Sorry for the late update