Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How to add custom "File Name" to an image/file being uploaded?

Xman,

Please follow these steps:

1 Open your service on settings tab.

2 Use as URL following string:

pre

{database_url}/files/{file_name}

/pre

http://prntscr.com/46456m/direct

3 Navigate to request tab.

4 Add new request parameter "file_name".

http://prntscr.com/4645uo/direct

Now you have "request" parameter "file_name" which is you can modify as you need in mapping.

Regards

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to add custom "File Name" to an image/file being uploaded?

Done, now when I click "Upload" after selecting file - nothing happens. Previously file(s) were getting successfully uploaded.

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to add custom "File Name" to an image/file being uploaded?

Ping! This is still not working. Can anyone help?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to add custom "File Name" to an image/file being uploaded?

Hello xman!

Sorry, now news yet.

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to add custom "File Name" to an image/file being uploaded?

What does that mean Maryna?
Does that mean you folks are investigating this and don't have an answer yet?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to add custom "File Name" to an image/file being uploaded?

Hello Xman,

Yes, we are working on your issue and will get back with update.

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to add custom "File Name" to an image/file being uploaded?

Still checking this thread periodically since last several hours, hoping for a solution soon.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to add custom "File Name" to an image/file being uploaded?

Xman,

Could you please look for the errors in the console? Please provide us with screenshots of service settings, request parameters of the service and mapping

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to add custom "File Name" to an image/file being uploaded?

There is no error in the console at all, I do capture and parse the error response and throw it out with an alert. But there is no error.

Request: http://awesomescreenshot.com/04d37pfz95
Settings: http://awesomescreenshot.com/08537pg6e4

Return to “Issues”