Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Form

Module for interacting with D365 Forms

Hierarchy

  • Form

Index

Constructors

constructor

Methods

getAvailableFormSelectorItems

  • Gets a list of all forms that are currently available in the form selector

    Returns Promise<Array<FormSelectorItem>>

    Array of objects with id and label

getCurrentFormSelectorItem

noSubmit

  • noSubmit(): Promise<void>
  • Sets all attributes to submit mode none. This is useful if you don't want to save and just change the page. No prompt for unsaved data will open.

    Returns Promise<void>

    Promise which resolves once all attribute submit modes are set.

reset

  • reset(): Promise<void>
  • Sets all attributes to submit mode none. This is useful if you don't want to save and just change the page. No prompt for unsaved data will open.

    deprecated

    Please use noSubmit

    Returns Promise<void>

    Promise which resolves once all attribute submit modes are set

switch

  • Switches to the specified form

    Parameters

    Returns Promise<[void, void]>

    Promise which resolves once the selected form is loaded

Generated using TypeDoc