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

Update Service

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

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

Update Service

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;

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

Update Service

Eascards,

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

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

Update Service

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

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

Update Service

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.

Return to “Issues”