Class icm.dialog.dynamictaskeditor.DynamicTaskEditorDialog

Represents the Custom Task Editor dialog box.
Defined in: <icm/dialog/dynamictaskeditor/DynamicTaskEditorDialog.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
Constructs an instance of the Custom Task Editor dialog box.

Method Summary

Method Attributes Method Name and Description
 
 
constructor
 
hide()
 
<static>  
icm.dialog.dynamictaskeditor.DynamicTaskEditorDialog.open(payload)
Open the Custom Task Editor dialog box.
 
 
resize(coords)
 
showDialog(payload)
Shows the Custom Task Editor dialog box.

Constructor Detail

icm.dialog.dynamictaskeditor.DynamicTaskEditorDialog()

Constructs an instance of the Custom Task Editor dialog box.

Method Detail

closeEditor()


constructor(args)

constructor
Parameters:
args

hide()


onCancel()


<static> icm.dialog.dynamictaskeditor.DynamicTaskEditorDialog.open(payload)

Open the Custom Task Editor dialog box.
Parameters:
payload
A JSON object that contains the parameters for the Custom Task Editor dialog box. The properties for the payload object include:
  • allowRole: A flag that indicates whether users can to assign work items in a custom task to roles
  • solution: The Solution object that represents the current solution
  • caseEdit: The editable Case object in which the custom object is being created
  • pageWidget: The page widget object that sends events in the Custom Task Editor dialog box

The following code shows an example of the payload parameter:

		{
		allowRole: 'true',
		solution: solution,
		caseEdit: caseEditableObj,
		pageWidget: widget
		}
     


postCreate()


resize(coords)

Parameters:
coords

showDialog(payload)

Shows the Custom Task Editor dialog box.
Parameters:
payload
A JSON object that contains the parameters for the Custom Task Editor dialog box. The properties for the payload object include:
  • allowRole: A flag that indicates whether users can to assign work items in a custom task to roles
  • solution: The Solution object that represents the current solution
  • caseEdit: The editable Case object in which the custom object is being created
  • pageWidget: The page widget object that sends events in the Custom Task Editor dialog box

The following code shows an example of the payload parameter:

		{
		allowRole: 'true',
		solution: solution,
		caseEdit: caseEditableObj,
		pageWidget: widget
		}