1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_im
</name>
7 <comment>IM information for a specific location.
</comment>
10 <title>Instant Messaging
</title>
11 <titlePlural>Instant Messaging
</titlePlural>
12 <icon>fa-comments-o
</icon>
15 <title>Instant Messenger ID
</title>
16 <type>int unsigned
</type>
17 <required>true
</required>
18 <comment>Unique IM ID
</comment>
23 <autoincrement>true
</autoincrement>
26 <name>contact_id
</name>
27 <title>IM Contact
</title>
28 <type>int unsigned
</type>
29 <comment>FK to Contact ID
</comment>
33 <name>contact_id
</name>
34 <table>civicrm_contact
</table>
37 <onDelete>CASCADE
</onDelete>
40 <name>location_type_id
</name>
41 <title>IM Location Type
</title>
42 <type>int unsigned
</type>
43 <comment>Which Location does this email belong to.
</comment>
45 <table>civicrm_location_type
</table>
46 <keyColumn>id
</keyColumn>
47 <labelColumn>display_name
</labelColumn>
55 <name>index_location_type
</name>
56 <fieldName>location_type_id
</fieldName>
61 <title>IM Screen Name
</title>
65 <headerPattern>/I(nstant )?M(ess.*)?|screen(\s+)?name/i
</headerPattern>
66 <dataPattern>/^[A-Za-z][
0-
9A-Za-z]{
20,}$/
</dataPattern>
67 <comment>IM screen name
</comment>
74 <name>provider_id
</name>
75 <title>IM Provider
</title>
76 <type>int unsigned
</type>
77 <comment>Which IM Provider does this screen name belong to.
</comment>
80 <optionGroupName>instant_messenger_service
</optionGroupName>
87 <name>UI_provider_id
</name>
88 <fieldName>provider_id
</fieldName>
92 <name>is_primary
</name>
93 <title>Primary IM
</title>
99 <comment>Is this the primary IM for this contact and location.
</comment>
103 <name>index_is_primary
</name>
104 <fieldName>is_primary
</fieldName>
108 <name>is_billing
</name>
109 <title>Is IM Billing?
</title>
112 <comment>Is this the billing?
</comment>
116 <name>index_is_billing
</name>
117 <fieldName>is_billing
</fieldName>