From 1d1db373db08b243fcd5ee2cbcd4647e5ac81a8a Mon Sep 17 00:00:00 2001 From: Derek Finlinson Date: Tue, 24 Jul 2018 10:36:11 -0600 Subject: [PATCH 1/2] Change Xrm.Utility.lookupObjects to return array --- types/xrm/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/xrm/index.d.ts b/types/xrm/index.d.ts index fdb6504e96..1b688c1e59 100644 --- a/types/xrm/index.d.ts +++ b/types/xrm/index.d.ts @@ -970,7 +970,7 @@ declare namespace Xrm { * Opens a lookup control to select one or more items. * @param lookupOptions Defines the options for opening the lookup dialog */ - lookupObjects(lookupOptions: LookupOptions): Async.PromiseLike; + lookupObjects(lookupOptions: LookupOptions): Async.PromiseLike; /** * Refreshes the parent grid containing the specified record. From 924fed466198bc97a2d9a0eb2846dbe9d40a7ff8 Mon Sep 17 00:00:00 2001 From: Derek Finlinson Date: Thu, 7 Feb 2019 15:59:25 -0700 Subject: [PATCH 2/2] Make imageOptions optional --- types/xrm/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/xrm/index.d.ts b/types/xrm/index.d.ts index 361e33bf92..61362fa208 100644 --- a/types/xrm/index.d.ts +++ b/types/xrm/index.d.ts @@ -4633,7 +4633,7 @@ declare namespace Xrm { * Invokes the device camera to capture an image. * @returns On success, returns Base64 encoded file */ - captureImage(imageOptions: Device.CaptureImageOptions): Async.PromiseLike; + captureImage(imageOptions?: Device.CaptureImageOptions): Async.PromiseLike; /** * Invokes the device camera to capture video.