How to retrieve the Third Party Contract from the Pick Analyst dialog

From support-works
Revision as of 10:47, 23 April 2018 by Rickyf (talk | contribs) (→‎Example)
Jump to navigation Jump to search



Status: Published
Version: 1.0
Authors: Hornbill Support
Applies to: Supportworks 7.6.x

AssignCallPropertySheet

The AssignCallPropertySheet class provides the interface needed to prompt for the user to select an analyst or group. This class represents the same dialog as the one displayed when you PickAnalystDialog, with addition to be able to select and retrieve the Third party SLA details.

Properties

Property Type Description
groupid String Group ID
analystid String Analyst ID
tpcontract String Third Party Contract ID

Methods

Methods Description
Open() Invoke to display the analyst/group dialog from which the user can pick/select an analyst, group or third party contract.

Example

var analDialog = new AssignCallPropertySheet();

// Opens the Pick Analyst dialog, and returns the information

analDialog.Open();

// Add an optional Dialog Title
analDialog.Open("Pick an Asignee");

alert("Group : " + analDialog.groupid + "\nAnalyst : " + analDialog.repid + (analDialog.tpcontract != "" ? "Third Party SLA : " + analDialog.tpcontract : ""));