
11. September 2018 — Miss Ob·so·let
Microsoft Dynamics CRM: How to create company via button click (Ribbon Workbench) – Possibility No 2
In Post Microsoft Dynamics CRM: How to create company via button click (Ribbon Workbench), I showed you Possibility No 1 to create a company via button click. Now, I found out another possibility.
Possibility No 1 did create a company ‘in the background’. That means that after clickin’ the button, you have to either click only the button, or you can input the account information into the prompt windows.
With Possibility No 2, we can create the company by inputting the information directly into the form. Use exactly the same steps as described here, but use the following javascript:
function CreateAccount() { console.log("Function Create Account started"); var parameters = {}; parameters["accountcategorycode"] = "2"; parameters["name"] = "Roger Rabbit"; Xrm.Utility.openEntityForm("account", null, parameters); }
[…] See also: Microsoft Dynamics CRM: How to create company via button click (Ribbon Workbench) – Possibilit… […]
LikeLike
[…] In Post “Microsoft Dynamics CRM: How to create company via button click (Ribbon Workbench)“, I showed you Possibility No 1 to create a company via button click, or here for Possibility No 2. […]
LikeLike