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.
Gets attribute type.
The attribute's type name.
Values returned are:
Gets the attribute format.
The format of the attribute. Values returned are: email, phone, text, textarea, tickersymbol, url
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"
Removes the handler from the "on change" event.
The handler.
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 "none", "required", or "recommended"
Sets the submit mode.
The submit mode, as either "always", "never", or "dirty".
Sets the value.
The value.
A String field with the email format enforces email address formatting. Attributes on Quick Create Forms will not save values set with this method.
Generated using TypeDoc
Interface for a String attribute.
See
Attribute