Page 9 of 9

Update Service

Posted: Wed Aug 13, 2014 9:27 pm
by Yurii Orishchuk

Hi Eascards,

I see you don't have id in the end of the url(delete request).

See details: http://prntscr.com/4cj4p6/direct

You need to correctly pass this "id" to this parameter from the list item.

Regards


Update Service

Posted: Thu Aug 14, 2014 4:08 am
by eascards

Got the id at the end of the url now.Image

Still says that I don't have write permission.

Read through the article in the comment above. I already have a code similar to what was in the article in the create service:

var acl = {};
acl[value]= { "read": true, "write": true };
return cal;


Update Service

Posted: Thu Aug 14, 2014 4:50 am
by Yurii Orishchuk

Eascards,

Ok, this time you need to pass "session token" parameter to delete service datasource.

Regards.


Update Service

Posted: Thu Aug 14, 2014 4:53 am
by eascards

So now it is working but I sometimes have to click the button twice?


Update Service

Posted: Mon Aug 18, 2014 3:44 am
by Yurii Orishchuk

Hi Eascards,

Nope, you need click only one time..

If you have some problem with it please debug your app. Open network tab and take a look if there "update" service request on each button click.

Regards.