Difference between revisions of "FAQ:How to retrieve the Third Party Contract from the Pick Analyst dialog"

From support-works
Jump to navigation Jump to search
Line 45: Line 45:
 
<code>
 
<code>
 
var analDialog = new AssignCallPropertySheet();
 
var analDialog = new AssignCallPropertySheet();
 
+
analDialog.Open();                                                        // Opens the Pick Analyst dialog, and returns the information
// Opens the Pick Analyst dialog, and returns the information
+
analDialog.Open("Pick an Assignee");                         // Add an optional Dialog Title
 
 
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 : ""));
 
alert("Group : " + analDialog.groupid + "\nAnalyst : " + analDialog.repid + (analDialog.tpcontract != "" ? "Third Party SLA : " + analDialog.tpcontract : ""));
 
</code>
 
</code>

Revision as of 10:50, 23 April 2018



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(); analDialog.Open(); // Opens the Pick Analyst dialog, and returns the information analDialog.Open("Pick an Assignee"); // Add an optional Dialog Title

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