EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

uploadMultipleFilesHelper not working

Hi Evgene, thks for your prompt reply but it was not my question.
yes, I know how to retrieve a file.
my issue is :
1/ select any file on the device without knowing its name,
2/ upload that file to the _files table,
3/ retrieve this file.

how/where to get its name or its _id and store it for later ?

I can always generate a key when uploading the file and store that key in the same record, as well as somewhere else to run queries later but still expect a simpler way. any thought ?

thks in advance,
Eric

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

uploadMultipleFilesHelper not working

Hi EJLD,

Uploaded files you can get from "Upload" service.

Please open this service on "response" tab and set response parameters like on screen shot:

http://prntscr.com/66kiwt/direct

From this time you can link this response where you need.

Regards.

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

uploadMultipleFilesHelper not working

Hi Yurii, thks for you msg. in fact, I tried that before way but it doesn't work. it blocks all responses including invoke and .js code.

but I found something interesting, I can retrieve the file name at the data input control level - appery("input name").val(); shall release the name.

hopefully it works under all browsers :)
at least mozilla does
best

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

uploadMultipleFilesHelper not working

Hi Yurii, I looked at your link again and noticed the tricky structure with array and objects, ... finally could make it work. thk you very much for your advice !
Enjoy Sunday !
Eric

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

uploadMultipleFilesHelper not working

Hello Eric,

Thank you for the update, have a good weekend too.

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

uploadMultipleFilesHelper not working

me again ! good to have the filename but how to personalize the query service's URL ]https://api.appery.io/rest/1/db/files... ? thks in advance

Return to “Issues”