forked from Combodo/precanned-replies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatamodel.precanned-replies.xml
103 lines (103 loc) · 2.9 KB
/
datamodel.precanned-replies.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<classes>
<class id="PrecannedReply" _delta="define">
<parent>cmdbAbstractObject</parent>
<properties>
<comment>/**
* Precanned reply for the module precanned-replies
* Adding attributes to this class, directly or by derivation,
* is automatically taken into account in the precanned replies search dialog
*/</comment>
<category>bizmodel,searchable</category>
<abstract>false</abstract>
<key_type>autoincrement</key_type>
<db_table>precanned_reply</db_table>
<db_key_field>id</db_key_field>
<db_final_class_field/>
<naming>
<format>%1$s</format>
<attributes>
<attribute id="name"/>
</attributes>
</naming>
<display_template/>
<icon></icon>
<reconciliation>
<attributes>
<attribute id="name"/>
</attributes>
</reconciliation>
</properties>
<fields>
<field id="name" xsi:type="AttributeString">
<sql>name</sql>
<default_value/>
<is_null_allowed>false</is_null_allowed>
</field>
<field id="description" xsi:type="AttributeString">
<sql>description</sql>
<default_value/>
<is_null_allowed>true</is_null_allowed>
</field>
<field id="body" xsi:type="AttributeText">
<sql>body</sql>
<default_value/>
<is_null_allowed>false</is_null_allowed>
<format>html</format>
</field>
</fields>
<methods/>
<presentation>
<details>
<items>
<item id="name">
<rank>10</rank>
</item>
<item id="description">
<rank>20</rank>
</item>
<item id="body">
<rank>30</rank>
</item>
</items>
</details>
<search>
<items>
<item id="name">
<rank>10</rank>
</item>
<item id="description">
<rank>20</rank>
</item>
</items>
</search>
<default_search>
<items>
<item id="name">
<rank>10</rank>
</item>
</items>
</default_search>
<list>
<items>
<item id="name">
<rank>10</rank>
</item>
<item id="description">
<rank>20</rank>
</item>
</items>
</list>
</presentation>
</class>
</classes>
<menus>
<menu id="PrecannedReplies" xsi:type="OQLMenuNode" _delta="define">
<rank>100</rank>
<parent>ServiceManagement</parent>
<oql>SELECT PrecannedReply</oql>
<do_search>1</do_search>
</menu>
</menus>
</itop_design>