isWorkItemPreviewFormOpen

Returns true if a work item form is open in a WorkItemsPreview component preview pane.

Syntax

isWorkItemPreviewFormOpen(showMsgIfOpen);

Parameters

  • showMsgIfOpen - (boolean) If true, and a work item is open in the preview pane, a warning message is displayed indicating the condition. The message used is the value of the dynamic property, txtWorkItemChanged.

Returns

  • boolean