Page 12 of 12

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

Posted: Thu Feb 05, 2015 1:36 am
by Yurii Orishchuk

Hi Ellen,

Follow these steps:

  1. Open your goal update service.

  2. Open "before send" mapping.

  3. Make link from ANY storage to the "acl" field:
    Details: http://prntscr.com/617h2h/direct

  4. Click "JS" and use following JS code:

    pre

    return undefined;

    /pre

    Regards.


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

Posted: Thu Feb 05, 2015 4:00 am
by Ellen Schlechter

This is the before send mapping. The variable "empty" is just a variable that I made that isn't linked to anything, therefore being empty. The suggested code is also in place.
Image

This is what I found.
Image

With the current setup, the update doesn't work.


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

Posted: Fri Feb 06, 2015 1:18 am
by Yurii Orishchuk

Hi Ellen,

Thanks for this update. Glad you've been able to disable acl request parameter to pass..

Go Ahead and get your update service to work.

Here you can find more details: http://devcenter.appery.io/documentat...

Regards.