Trigger action using JS
In many cases we may encounter a requirement where we are required to perform server side logic utilizing client side events (onchange, onsave, onload…etc) in MS CRM. We generally prefer to use actions for dealing with these kinds of operations.
So in this blog, we’ll take a detailed look at how to trigger an action and retrieve the action output parameters using script with a simple example.
Let us create a simple action which will trigger on save of the account and create a primary contact.