prashant purohit
Posts: 0
Joined: Sat Aug 31, 2013 11:00 am

Uploading files to server

Hi,

I am trying to send the image files to my server (and NOT appery DB). I referred the following documentation and done the following changes:

http://docs.appery.io/tutorials/uploa...

  1. Created the new service "uploadService" instead of importing "FileDB__files_upload_service".

  2. Set the "content Type" to "Data" in "uploadservice"

    Rest is same. However, I am getting the below exception is JS console:
    "Uncaught ReferenceError: uploadMultipleFilesHelper is not defined "

    Request you to please let me know as in how to rectify the same.

    Regds Image

prashant purohit
Posts: 0
Joined: Sat Aug 31, 2013 11:00 am

Uploading files to server

here is the screen shot of uploadService which I created new Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Uploading files to server

Please import DB_file_create service to get this functionality to work. See details here:

Image

Bilder will add "uploadMultipleFilesHelper" function to your app after you added this service.

prashant purohit
Posts: 0
Joined: Sat Aug 31, 2013 11:00 am

Uploading files to server

Hi,

I tried doing that. I am not getting the previous error this time. However, I am getting the below error Image

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

Uploading files to server

Hi prashant.

Please give us your app public link. And specify steps to reproduce this problem.

And we will take a look.

Thanks.

prashant purohit
Posts: 0
Joined: Sat Aug 31, 2013 11:00 am

Uploading files to server

Steps to reproduce the problem:

  1. Launch Application "EARNGOPORTAL_PROD_V1_0" in test mode

  2. Click on "File Transfer" button Image

  3. Upload any file and click on upload. JS is not executed and gives error in console
    Image

  4. Service called is img_upload on upload button click via java script as below:

    uploadMultipleFilesHelper(uploadService2, Apperyio('file_input'));

    Shared the app . Please suggest further

prashant purohit
Posts: 0
Joined: Sat Aug 31, 2013 11:00 am

Uploading files to server

This is the public link of application:

http://appery.io/app/view/49b30008-f7...

Please let me know if I need to share the application and to which ID?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Uploading files to server

Hello,

Please provide us test credentials.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Uploading files to server

Hi Prashant,

We can't access the uploading page, this is what we're getting:
Image
when unfolding the error of a service: code{"code":"PTCT010","description":"Mandatory parameter 'appery-rest' is missing"}/code

prashant purohit
Posts: 0
Joined: Sat Aug 31, 2013 11:00 am

Uploading files to server

Hi,

Please try now.

http://appery.io/app/view/49b30008-f7...

Click on "file transfer" button to go to the upload page.

Return to “Issues”