Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

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

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)

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

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

Mark,

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

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

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

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.

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

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

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.

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

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

Mark,

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

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

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

Mark,

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

Return to “Issues”