Dynamics CRM 2016 – Create record with JavaScript

Original post here: https://365dynamicscrm.wordpress.com/2016/02/18/webapi-javascript-to-create-a-record/


Going to make some assumptions that the account[“name”] can be set with Xrm.Page.getAttribute(“blah”).getValue().

There is a reason I’m not using workflows/real-time workflows for this. If it wasn’t for the need to open the created record on create, I’d go down that route. However.. In this case, need that specific record created.

I do things in the clloouuudddd