Ellen Schlechter
Posts: 0
Joined: Sun Aug 31, 2014 3:28 am

Is it possible to have the same button run both a create service and an update service?

That error is no longer there but it still changes the ACL even with the code implemented. Image Image

Would changing any of these help?
Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Is it possible to have the same button run both a create service and an update service?

Hello Ellen!

Not yet, sorry... I'll ping dev team.

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

Is it possible to have the same button run both a create service and an update service?

Hi Ellen -

What JS code do you have placed for you ACL parameter?

Ellen Schlechter
Posts: 0
Joined: Sun Aug 31, 2014 3:28 am

Is it possible to have the same button run both a create service and an update service?

When I used return ""; the update service wouldn't even work right. I then tried return null; and with that code, there is nothing in the ACL field instead of the right value for the user who created it.

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

Is it possible to have the same button run both a create service and an update service?

Hi Ellen,

pre

return undefined;

/pre

Is correct code..

Could you please try to add new one datasource, and give it name "testDatasource".

Then use that code for "acl" field.

And then invoke this service on the page load.

After, please take a look at the console network tab to see actual request.

Regards.

Ellen Schlechter
Posts: 0
Joined: Sun Aug 31, 2014 3:28 am

Is it possible to have the same button run both a create service and an update service?

The add button when I try to add a new service doesn't work. I've tried Safari and Chrome and when I try to add a new service it doesn't do anything at all.

Return to “Issues”