From 8d44b7df0e8a4f28faad0aa5c25bc7d484949c54 Mon Sep 17 00:00:00 2001 From: "Derek C. Finlinson" Date: Tue, 15 Nov 2016 13:37:36 -0700 Subject: [PATCH] Update SuccessCallbackDelegate definition --- xrm/xrm.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xrm/xrm.d.ts b/xrm/xrm.d.ts index 986ce7e78a..1d8aa521ff 100644 --- a/xrm/xrm.d.ts +++ b/xrm/xrm.d.ts @@ -483,8 +483,10 @@ declare namespace Xrm { /** * Called when the operation is successful. + * Currently, only the Xrm.Utility.openQuickCreate successCallback + * is passed a parameter so an optional parameter for it is included */ - export type SuccessCallbackDelegate = ( object: any ) => void; + export type SuccessCallbackDelegate = ( savedEntityReference?: Page.LookupValue ) => void; /** * Called when the operation fails.