Page 2 of 8
How to add custom "File Name" to an image/file being uploaded?
Posted: Fri Jul 25, 2014 5:21 am
by Yurii Orishchuk
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
How to add custom "File Name" to an image/file being uploaded?
Posted: Fri Jul 25, 2014 5:43 am
by xman
Done, now when I click "Upload" after selecting file - nothing happens. Previously file(s) were getting successfully uploaded.
How to add custom "File Name" to an image/file being uploaded?
Posted: Fri Jul 25, 2014 2:01 pm
by xman
Ping! This is still not working. Can anyone help?
How to add custom "File Name" to an image/file being uploaded?
Posted: Fri Jul 25, 2014 2:02 pm
by Maryna Brodina
Hello xman!
Sorry, now news yet.
How to add custom "File Name" to an image/file being uploaded?
Posted: Fri Jul 25, 2014 2:04 pm
by xman
What does that mean Maryna?
Does that mean you folks are investigating this and don't have an answer yet?
How to add custom "File Name" to an image/file being uploaded?
Posted: Fri Jul 25, 2014 2:08 pm
by Evgene Karachevtsev
Hello Xman,
Yes, we are working on your issue and will get back with update.
How to add custom "File Name" to an image/file being uploaded?
Posted: Fri Jul 25, 2014 6:59 pm
by xman
Still checking this thread periodically since last several hours, hoping for a solution soon.
How to add custom "File Name" to an image/file being uploaded?
Posted: Fri Jul 25, 2014 7:22 pm
by Evgene Karachevtsev
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
How to add custom "File Name" to an image/file being uploaded?
Posted: Fri Jul 25, 2014 7:27 pm
by xman
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
How to add custom "File Name" to an image/file being uploaded?
Posted: Sat Jul 26, 2014 3:47 am
by xman