Challenge Overview
Environment : The Salesforce.com Service Cloud Console.
Objectives:
1) When the user closes a Case record, the system should: close the case tab and its parent tab (if any).
2) Create a custom console keyboard shortcut which:
- detects the current focused tab, its parent and all children from the parent
- if any of the tabs (children or parent) is a case, focus on that tab and change it to the "close case" page
- otherwise, save the record.
If one of the tab is a "Details" tab from Live Agent, the custom shortcut will save the Live Agent transcript before closing the tab.
OBJECTIVE 1:
OBJECTIVE 2:
SITUATION 1
The primary tab isn’t a case and none of the secondary tabs are a case
So pressing the new keyboard shortcut just closes the primary tab (and its secondary tabs):
Note: if there are multiple primary tabs, only the current primary tab is closed by pressing the keyboard shortcut:
---->
SITUATION 2
The primary tab or one of the secondary tabs is a case
Here pressing the keyboard shortcut changes the Case tab to its ‘Close Clase’ mode:
The following technology must be used:
-
Salesforce Console Integration Toolkit documented at http://www.salesforce.com/us/developer/docs/api_console/index.htm
The following technology may also be used:
-
Visualforce
-
Apex
Deliverables:
-
code with clear comments
-
test class(es)
Final Submission Guidelines
Judging Criteria:
- Clarity of code
- Completeness of solution