Page 1 of 2

Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Mon Feb 23, 2015 11:19 am
by Mark Wong

I've created an upload system
The response parameters are created according to what the employee had told me
Image
Due to the problem that you can't read the image lists in file collection, I need to [create] new files in other collections. Therefore when the upload service success, it will invoke create service
Image
However, I've insert JS code before the invoking the service, but the JS code of alert Success message doesn't come up and invoke the service to create.
(Even there wasn't JS code, can't invoke create service correctly to create anything in collection)
(If I don't invoke, alert appear)


Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Mon Feb 23, 2015 9:39 pm
by Evgene Karachevtsev

Mark,

Could you please show us screenshot with upload service's settings?


Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Tue Feb 24, 2015 6:05 am
by Mark Wong

Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Wed Feb 25, 2015 4:57 am
by Yurii Orishchuk

Hi Mark,

Please follow these steps:

  1. Open browser debugger on network tab

  2. Clear all logs in this network tab.

  3. Run upload service(to upload certain file).

  4. Take a look into new appeared request in the debugger and what response of this request.

    Regards.


Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Wed Feb 25, 2015 4:05 pm
by Mark Wong

Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Thu Feb 26, 2015 4:29 am
by Yurii Orishchuk

Hi Mark,

That's not "network" tab.

But in console we can see some problem with mapping. I guess you have some other response.

Please open network tab(as suggested above) and open response of the upload object to see actual response.

Regards.


Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Thu Feb 26, 2015 12:58 pm
by Mark Wong

Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Thu Feb 26, 2015 9:00 pm
by Evgene Karachevtsev

Mark,

Could you click on the files at the name tab to see response please?


Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Fri Feb 27, 2015 4:00 pm
by Mark Wong

Nothing appear when I click on it except a grey window Image


Uploading Service Success- Running Javascript, Invoke Create Service not working, Nothing in the target collection

Posted: Fri Feb 27, 2015 5:48 pm
by Evgene Karachevtsev

Mark,

Could you please share your app with support, tell us its name and steps to reproduce?