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 <icon>fa-comments-o
</icon>
14 <title>Instant Messenger ID
</title>
15 <type>int unsigned
</type>
16 <required>true
</required>
17 <comment>Unique IM ID
</comment>
22 <autoincrement>true
</autoincrement>
25 <name>contact_id
</name>
26 <title>IM Contact
</title>
27 <type>int unsigned
</type>
28 <comment>FK to Contact ID
</comment>
32 <name>contact_id
</name>
33 <table>civicrm_contact
</table>
36 <onDelete>CASCADE
</onDelete>
39 <name>location_type_id
</name>
40 <title>IM Location Type
</title>
41 <type>int unsigned
</type>
42 <comment>Which Location does this email belong to.
</comment>
44 <table>civicrm_location_type
</table>
45 <keyColumn>id
</keyColumn>
46 <labelColumn>display_name
</labelColumn>
54 <name>index_location_type
</name>
55 <fieldName>location_type_id
</fieldName>
60 <title>IM Screen Name
</title>
64 <headerPattern>/I(nstant )?M(ess.*)?|screen(\s+)?name/i
</headerPattern>
65 <dataPattern>/^[A-Za-z][
0-
9A-Za-z]{
20,}$/
</dataPattern>
66 <comment>IM screen name
</comment>
73 <name>provider_id
</name>
74 <title>IM Provider
</title>
75 <type>int unsigned
</type>
76 <comment>Which IM Provider does this screen name belong to.
</comment>
79 <optionGroupName>instant_messenger_service
</optionGroupName>
86 <name>UI_provider_id
</name>
87 <fieldName>provider_id
</fieldName>
91 <name>is_primary
</name>
92 <title>Primary IM
</title>
98 <comment>Is this the primary IM for this contact and location.
</comment>
102 <name>index_is_primary
</name>
103 <fieldName>is_primary
</fieldName>
107 <name>is_billing
</name>
108 <title>Is IM Billing?
</title>
111 <comment>Is this the billing?
</comment>
115 <name>index_is_billing
</name>
116 <fieldName>is_billing
</fieldName>