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>
13 <labelField>name
</labelField>
16 <title>Instant Messenger ID
</title>
17 <type>int unsigned
</type>
18 <required>true
</required>
19 <comment>Unique IM ID
</comment>
27 <autoincrement>true
</autoincrement>
30 <name>contact_id
</name>
31 <title>Contact ID
</title>
32 <type>int unsigned
</type>
33 <comment>FK to Contact ID
</comment>
35 <label>Contact
</label>
40 <name>contact_id
</name>
41 <table>civicrm_contact
</table>
44 <onDelete>CASCADE
</onDelete>
47 <name>location_type_id
</name>
48 <title>IM Location Type
</title>
49 <type>int unsigned
</type>
50 <comment>Which Location does this email belong to.
</comment>
52 <table>civicrm_location_type
</table>
53 <keyColumn>id
</keyColumn>
54 <labelColumn>display_name
</labelColumn>
62 <name>index_location_type
</name>
63 <fieldName>location_type_id
</fieldName>
68 <title>IM Screen Name
</title>
72 <headerPattern>/I(nstant )?M(ess.*)?|screen(\s+)?name/i
</headerPattern>
73 <dataPattern>/^[A-Za-z][
0-
9A-Za-z]{
20,}$/
</dataPattern>
74 <comment>IM screen name
</comment>
81 <name>provider_id
</name>
82 <title>IM Provider
</title>
83 <type>int unsigned
</type>
84 <comment>Which IM Provider does this screen name belong to.
</comment>
87 <optionGroupName>instant_messenger_service
</optionGroupName>
94 <name>UI_provider_id
</name>
95 <fieldName>provider_id
</fieldName>
99 <name>is_primary
</name>
100 <title>Primary IM
</title>
106 <comment>Is this the primary IM for this contact and location.
</comment>
110 <name>index_is_primary
</name>
111 <fieldName>is_primary
</fieldName>
115 <name>is_billing
</name>
116 <title>Is IM Billing?
</title>
119 <comment>Is this the billing?
</comment>
123 <name>index_is_billing
</name>
124 <fieldName>is_billing
</fieldName>