Interface for the Xrm.Navigation API

Hierarchy

  • Navigation

Methods

  • Navigates to the specified page.

    Parameters

    Returns PromiseLike<any>

  • Displays an alert dialog containing a message and a button.

    Parameters

    • alertStrings: AlertStrings

      The strings to be used in the alert dialog.

    • Optional alertOptions: DialogSizeOptions

      The height and width options for alert dialog

    Returns PromiseLike<any>

  • Displays a confirmation dialog box containing a message and two buttons.

    Parameters

    • confirmStrings: ConfirmStrings

      The strings to be used in the confirm dialog.

    • Optional confirmOptions: DialogSizeOptions

      The height and width options for alert dialog

    Returns PromiseLike<ConfirmResult>

  • Displays an error dialog.

    Parameters

    Returns PromiseLike<any>

  • Opens a file.

    Parameters

    Returns void

  • Opens a URL, including file URLs.

    Parameters

    • url: string

      URL to open.

    • Optional openUrlOptions: DialogSizeOptions

      Options to open the URL

    Returns void

  • Opens an HTML web resource.

    Parameters

    • webResourceName: string

      Name of the HTML web resource.

    • Optional windowOptions: OpenWebresourceOptions

      (Optional) Window options for opening the web resource. It is advised to use encodeURIcomponent() to encode the value.

    • Optional data: string

    Returns void

Generated using TypeDoc