From ee1b918eb9816999ffbaeba776f2902eb1246f23 Mon Sep 17 00:00:00 2001 From: Derek Finlinson Date: Tue, 20 Sep 2016 13:56:20 -0600 Subject: [PATCH] Add null for optional parameters --- xrm/xrm-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xrm/xrm-tests.ts b/xrm/xrm-tests.ts index aa458712af..0d029c07fe 100644 --- a/xrm/xrm-tests.ts +++ b/xrm/xrm-tests.ts @@ -72,7 +72,7 @@ if (Xrm.Page.data.process != null) /// Demonstrate v7.1 Quick Create form -Xrm.Utility.openQuickCreate("account").then(( newRecord: Page.LookupValue ) => { alert( `Newly created record Id: ${newRecord.id}` ); }); +Xrm.Utility.openQuickCreate("account", null, null).then(( newRecord: Xrm.Page.LookupValue ) => { alert( `Newly created record Id: ${newRecord.id}` ); }); /// Make all controls visible.