So I've seen LOTS of examples of calling actions from javascript where it sends parameters to and from a plugin so the javascript can execute a plugin based on a button or something else. Problem is virtually every example I see uses XRM.Page which is deprecated. Does anyone have a simple example on how to do this with XRM.WebAPI or whatever is replacing XRM.Page in v9? Also we are still on Prem if this matters.
Thanks.