Displays an error or recommendation notification for a control, and lets you specify actions to execute based on the notification.
Adds an event handler to the OnOutputChange event.
The function to add to the OnOutputChange event.
Adds an option.
The option.
Optional
index: number(Optional) zero-based index of the option.
This method does not check that the values within the options you add are valid. If index is not provided, the new option will be added to the end of the list.
Clears the notification identified by uniqueId.
Optional
uniqueId: string(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.
Gets the control's bound attribute.
The attribute.
Gets the controls type.
The control type.
Values returned are:
Gets the name of the control on the form.
The name of the control.
The name assigned to a control is not determined until the form loads. Changes to
the form may change the name assigned to a given control.
When you use the control getName method the name of the first control will be the
same as the name of the attribute. The second instance of a control for that
attribute will be "
Returns an array of option objects representing valid options available for a control, including a blank option and excluding any options that have been removed from the control using removeOption.
The array of option objects representing valid options where each option object has the following attributes: text: String. Label of the option. value: Number. Enumeration value of the option.
Returns a dictionary of the output properties of the control.
A dictionary for the output parameters from the control.
For a PCF control this is of the pattern
Removes an event handler from the OnOutputChange event.
The function to remove from the OnOutputChange event.
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.
Generated using TypeDoc
Interface for an OptionSet control.
See
StandardControl