Represents a form in Dynamics 365.

Hierarchy

  • Form

Constructors

Properties

_executionContext: Xrm.Events.EventContext
_formContext: FormContext

Accessors

  • get IsCreate(): boolean
  • Returns true if form is from type create

    Returns boolean

  • get IsNotCreate(): boolean
  • Returns true if form is not from type create

    Returns boolean

  • get IsNotUpdate(): boolean
  • Returns true if form is not from type update

    Returns boolean

  • get IsUpdate(): boolean
  • Returns true if form is from type update

    Returns boolean

Methods

  • Displays a form level notification. Any number of notifications can be displayed and will remain until removed using clearFormNotification. The height of the notification area is limited so each new message will be added to the top.

    Parameters

    • message: string

      The text of the notification message.

    • level: Xrm.FormNotificationLevel

      The level of the notification which defines how the message will be displayed, such as the icon. ERROR: Notification will use the system error icon. WARNING: Notification will use the system warning icon. INFO: Notification will use the system info icon.

    • uniqueId: string

      Unique identifier for the notification which is used with clearFormNotification to remove the notification.

    Returns boolean

    true if it succeeds, othenprwise false.

  • Clears the form notification described by uniqueId.

    Parameters

    • uniqueId: string

      Unique identifier.

    Returns boolean

    True if it succeeds, otherwise false.

Generated using TypeDoc