-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdatamodel.combodo-tawk-integration.xml
More file actions
57 lines (57 loc) · 1.83 KB
/
datamodel.combodo-tawk-integration.xml
File metadata and controls
57 lines (57 loc) · 1.83 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.7">
<classes>
<class id="UserRequest" _delta="must_exist">
<fields>
<field id="origin" _delta="must_exist">
<values>
<value id="chat" _delta="define_if_not_exists">
<code>chat</code>
</value>
</values>
</field>
<field id="tawkto_ref" xsi:type="AttributeString" _delta="define">
<sql>tawkto_ref</sql>
<default_value/>
<is_null_allowed>true</is_null_allowed>
</field>
</fields>
<presentation>
<details>
<items>
<item id="col:col3" _delta="must_exist">
<items>
<item id="fieldset:Ticket:relation" _delta="must_exist">
<items>
<item id="tawkto_ref" _delta="define">
<rank>100</rank>
</item>
</items>
</item>
</items>
</item>
</items>
</details>
</presentation>
</class>
</classes>
<module_parameters>
<parameters id="combodo-tawk-integration" _delta="define">
<property_id>PUT_YOUR_PROPERTY_ID_HERE</property_id>
<widget_id>PUT_YOUR_WIDGET_ID_HERE</widget_id>
<api_key>PUT_YOUR_API_KEY_HERE</api_key>
<webhooks.secret_key>PUT_YOUR_WEBHOOKS_SECRET_KEY_HERE</webhooks.secret_key>
<webhooks.create_ticket>
<ticket_class>UserRequest</ticket_class>
<!-- Default values of the ticket, typically if it has mandatory attributes that won't be set from the chat -->
<ticket_default_values type="hash"></ticket_default_values>
</webhooks.create_ticket>
<enabled_portals type="array">
<enabled_portal id="itop-portal">itop-portal</enabled_portal>
</enabled_portals>
<allowed_profiles type="array">
<allowed_profile id="portal-user">Portal user</allowed_profile>
</allowed_profiles>
</parameters>
</module_parameters>
</itop_design>