From 9a14d6a289e41dcbd6ed8b0ae91c172c701dd756 Mon Sep 17 00:00:00 2001 From: Nate Shumway Date: Wed, 12 Dec 2018 13:51:27 -0700 Subject: [PATCH] XrmPageEnumAttribute - added getValue and setValue --- types/xrm/v7/index.d.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/types/xrm/v7/index.d.ts b/types/xrm/v7/index.d.ts index ef893a930a..4b08069fa5 100644 --- a/types/xrm/v7/index.d.ts +++ b/types/xrm/v7/index.d.ts @@ -1163,6 +1163,24 @@ declare namespace Xrm * @remarks Valid for optionset and boolean attribute types */ getInitialValue(): number | boolean; + + /** + * Gets the value. + * + * @return The value. + */ + getValue(): string; + + /** + * Sets the value. + * + * @param {string} value The value. + * + * @remarks A String field with the {@link Attribute.getFormat|email} format enforces email + * address formatting. Attributes on Quick Create Forms will not save values set + * with this method. + */ + setValue( value: string ): void; } /**