Difference between revisions of "FAQ:How to retrieve the Third Party Contract from the Pick Analyst dialog"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 44: | Line 44: | ||
==Example== | ==Example== | ||
<code> | <code> | ||
− | var analDialog = new AssignCallPropertySheet(); | + | 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 | |
− | analDialog.Open(); | ||
− | |||
− | // Add an optional Dialog Title | ||
− | |||
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 : "")); | ||
− | </ | + | </scode> |
Latest revision as of 10:57, 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 : ""));
</scode>