Readonly
NameProtected
_attributeGets the value.
The value.
A collection of all the controls on the form that interface with this attribute.
Displays an error or recommendation notification for a control, and lets you specify actions to execute based on the notification.
Optional
actions: Xrm.Controls.ControlNotificationAction[]Adds a handler or an array of handlers to be called when the attribute's value is changed.
The function reference or an array of function references.
Fire all "on change" event handlers.
Gets the attribute format.
The format of the attribute.
Values returned are:
Gets the current level of requirement for the attribute.
The required level, as either "none", "required", or "recommended"
Gets current submit mode for the attribute.
The submit mode, as either "always", "never", or "dirty"
The default value is "dirty"
Clears the notification identified by uniqueId.
(Optional) Unique identifier.
true if it succeeds, false if it fails.
If the uniqueId parameter is not used, the current notification shown will be removed.
Removes the handler from the "on change" event.
The handler.
Sets the state of the control to either enabled, or disabled.
true to disable, false to enable.
Sets a control-local notification message.
The message.
Unique identifier.
true if it succeeds, false if it fails.
When this method is used on Microsoft Dynamics CRM for tablets a red "X" icon appears next to the control. Tapping on the icon will display the message.
Sets the required level.
The requirement level, as either false for "none" or true for "required"
Sets the required level.
The requirement level, as either "none", "required", or "recommended"
Sets the submit mode.
The submit mode, as either "always", "never", or "dirty".
Sets the visibility state.
true to show, false to hide.
Generated using TypeDoc
Interface for a Boolean attribute.
See
EnumAttribute