Added getFormContext to v8 as it should be available there as well.

This commit is contained in:
Marius Agur Pedersen
2017-11-16 14:20:51 +01:00
parent 08da8b8a66
commit adc1ffa1a1
+13 -1
View File
@@ -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 <https://github.com/6ix4our>, Matt Ngan <https://github.com/mattngan>, Markus Mauch <https://github.com/markusmauch>, Daryl LaBar <https://github.com/daryllabar>, Tully H <https://github.com/clownwilleatme>
// Definitions by: David Berry <https://github.com/6ix4our>, Matt Ngan <https://github.com/mattngan>, Markus Mauch <https://github.com/markusmauch>, Daryl LaBar <https://github.com/daryllabar>, Tully H <https://github.com/clownwilleatme>, Marius Agur <https://github.com/mariusagur>
// 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<T>(key: string): T;
/**