Interface for an Iframe control.

See

FramedControl

Deprecated

Use IframeControl instead.

Hierarchy

Methods

  • Returns the content window that represents an IFRAME or web resource.

    Returns Promise<Window>

    A promise that contains a content window instance representing an IFRAME or web resource.

    Remarks

    This method is supported only on Unified Interface. The implementer is expected to call a custom function within the returned window that will receive the Xrm and formContext objects as parameters.

  • Gets the controls type.

    Returns string

    The control type.

    Values returned are:

    • standard
    • iframe
    • lookup
    • optionset
    • subgrid
    • webresource
    • notes
    • timercontrol
    • kbsearch
    • quickform (see ui.QuickForm)
    • customcontrol: . (A custom control for mobile phone and tablet clients).
    • customsubgrid: . (A custom dataset control for mobile phone and tablet clients).
  • Gets initial URL defined for the Iframe.

    Returns string

    The initial URL.

    Remarks

    Unavailable for Microsoft Dynamics CRM for tablets.

  • Gets the label.

    Returns string

    The label.

  • Gets the name of the control on the form.

    Returns string

    The name of the control.

    Remarks

    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 "1". The pattern +N will continue for each additional control added to the form for a specific attribute. When a form displays a business process flow control in the header, additional controls will be added for each attribute that is displayed in the business process flow. These controls have a unique name like the following: header_process_.

  • Gets the DOM element containing the control.

    Returns HTMLIFrameElement

    The container object.

    Remarks

    Unavailable for Microsoft Dynamics CRM for tablets.

  • Gets the URL value of the control.

    Returns string

    The source URL.

    Remarks

    Unavailable for Microsoft Dynamics CRM for tablets.

  • Gets the visibility state.

    Returns boolean

    true if the tab is visible, otherwise false.

  • Sets the label.

    Parameters

    • label: string

      The label.

    Returns void

  • Sets the URL value of the control.

    Parameters

    • src: string

      The source URL.

    Returns void

    Remarks

    Unavailable for Microsoft Dynamics CRM for tablets.

  • Sets the visibility state.

    Parameters

    • visible: boolean

      true to show, false to hide.

    Returns void

Generated using TypeDoc