Class MultiSelectOptionSetField<Options>

Interface an OptionSet attribute.

Type Parameters

  • Options extends OptionValues

Hierarchy

  • Field
    • MultiSelectOptionSetField

Implements

Constructors

Properties

Name: string
Option: Options
allFields: Field[] = []

Accessors

  • get Value(): number[]
  • Gets the value.

    Returns number[]

    The value.

  • set Value(value): void
  • Parameters

    • value: number[] | (keyof Options)[]

    Returns void

Methods

  • Sets a control-local notification message.

    Parameters

    • message: string

      The message.

    • uniqueId: string

      Unique identifier.

    Returns MultiSelectOptionSetField<Options>

    true if it succeeds, false if it fails.

    Remarks

    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 value.

    Parameters

    • value: any

      The value.

    Returns void

    Remarks

    The getOptions() method returns option values as strings. You must use parseInt to convert them to numbers before you can use those values to set the value of an OptionSet attribute. Attributes on Quick Create Forms will not save values set with this method.

Generated using TypeDoc