-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom_zimbra_sforce.xml
62 lines (59 loc) · 3.2 KB
/
com_zimbra_sforce.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!--
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Zimlets
* Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016 Synacor, Inc.
*
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at: https://www.zimbra.com/license
* The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15
* have been added to cover use of software over a computer network and provide for limited attribution
* for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied.
* See the License for the specific language governing rights and limitations under the License.
* The Original Code is Zimbra Open Source Web Client.
* The Initial Developer of the Original Code is Zimbra, Inc. All rights to the Original Code were
* transferred by Zimbra, Inc. to Synacor, Inc. on September 14, 2015.
*
* All portions of the code are Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016 Synacor, Inc. All Rights Reserved.
* ***** END LICENSE BLOCK *****
-->
<zimlet name="com_zimbra_sforce"
version="3.6"
label="Salesforce"
description="Connects Zimbra to Salesforce"
target="main view-window">
<contentObject>
<matchOn>
<regex attrs="ig">(?:(?:\bCase(?:)?:?\s*#?))(\d+)\b</regex>
</matchOn>
<contextMenu>
<menuItem label="View Case (in Salesforce)" icon="Notebook" id="SFORCE_CASE_OPENCASE"/>
<menuItem label="Edit Case (in Salesforce)" icon="Edit" id="SFORCE_CASE_EDITCASE"/>
<menuItem label="Close Case" icon="Cancel" id="SFORCE_CASE_CLOSE"/>
<menuItem label="Change.." icon="SFORCE-panelIcon" id="SFORCE_CASE_CHANGE"/>
<menuItem label="Open Link/URL.." icon="Shortcut" id="SFORCE_CASE_OPEN_LINK"/>
</contextMenu>
</contentObject>
<include>sforce.js</include>
<include>model/sforceObject.js</include>
<include>widgets/sforceSearchDlg.js</include>
<includeCSS>sforce.css</includeCSS>
<handlerObject>Com_Zimbra_SForce</handlerObject>
<zimletPanelItem label="Salesforce" icon="SFORCE-panelIcon">
<contextMenu>
<menuItem label="Salesforce Preferences" id="PREFERENCES" icon="Resource"/>
<menuItem/>
<menuItem label="Force Show Salesforce Bar" icon="SFORCE-panelIcon" id="SFORCE_SHOW_SALESFORCE_BAR"/>
</contextMenu>
</zimletPanelItem>
<userProperties>
<property type="string" name="sforce_ignoreDomainsList" value="zimbra.com"/>
<property type="string" name="sforce_logindlg_sbarShowOnlyOnResult" value= "false" />
<property type="string" name="sforce_logindlg_showSendAndAddBtn" value= "true" />
<property type="string" name="sforce_linkNamesInSalesForceStartsWith" value= "Link_to_" />
<property type="string" name="sforce_taskType" value="Email" />
</userProperties>
</zimlet>