diff --git a/types/xrm/v8/index.d.ts b/types/xrm/v8/index.d.ts index b46b92ffa1..1145838256 100644 --- a/types/xrm/v8/index.d.ts +++ b/types/xrm/v8/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Microsoft Dynamics xRM API 8.2 // Project: http://www.microsoft.com/en-us/download/details.aspx?id=44567 -// Definitions by: David Berry , Matt Ngan , Markus Mauch , Daryl LaBar , Tully H +// Definitions by: David Berry , Matt Ngan , Markus Mauch , Daryl LaBar , Tully H , Marius Agur // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -1101,6 +1101,18 @@ declare namespace Xrm { * * @remarks Used to pass values between handlers of an event. */ + getFormContext(): Page; + + /** + * Gets the shared variable with the specified key. + * + * @param T Generic type parameter. + * @param key The key. + * + * @return The shared variable. + * + * @remarks Used to pass values between handlers of an event. + */ getSharedVariable(key: string): T; /**