Grrr. I can't reproduce. Now all versions are working. Sorry.
Grrr. I can't reproduce. Now all versions are working. Sorry.
So I have an update and create datasource which I like to from the same button depending on the state of the object.
I thought about just running JavaScript and invoking the datasource from there. But how would I do that?
I have a similar problem. And your code works fine out of the developer console but not from the function call that is invoked by the service mapping.