CRM-13497 - getting there on main tables
[civicrm-core.git] / xml / schema / Core / MappingField.xml
index fd6125ba012848b110d59f538f35041590ac883d..072f379731cafe6c34e64397850023f71f3f8e04 100644 (file)
        <type>varchar</type>
        <length>64</length>
        <comment>Contact Type in mapping</comment>
+       <pseudoconstant>
+         <table>civicrm_contact_type</table>
+         <keyColumn>name</keyColumn>
+         <labelColumn>label</labelColumn>
+       </pseudoconstant>
+       <html>
+         <type>Select></type>
+       </html>
       <add>1.2</add>
   </field>
   <field>
        <type>int unsigned</type>
        <comment>Which type of phone does this number belongs.</comment>
        <add>2.2</add>
-  </field> 
+  </field>
    <field>
-       <name>im_provider_id</name>
-       <type>int unsigned</type>
-       <comment>Which type of IM Provider does this name belong.</comment>
-       <add>3.0</add>
+      <name>im_provider_id</name>
+      <type>int unsigned</type>
+      <comment>Which type of IM Provider does this name belong.</comment>
+      <add>3.0</add>
+      <pseudoconstant>
+        <optionGroupName>instant_messenger_service</optionGroupName>
+      </pseudoconstant>
+      <html>
+        <type>Select></type>
+      </html>
   </field>
   <field>
        <name>website_type_id</name>
        <type>int unsigned</type>
        <comment>Which type of website does this site belong</comment>
        <add>3.2</add>
-  </field> 
+       <pseudoconstant>
+         <optionGroupName>website_type</optionGroupName>
+       </pseudoconstant>
+       <html>
+         <type>Select></type>
+       </html>
+  </field>
   <field>
        <name>relationship_type_id</name>
        <type>int unsigned</type>
        <key>id</key>
       <add>1.2</add>
   </foreignKey>
-  <field> 
-      <name>relationship_direction</name>     
-      <type>varchar</type>  
-      <length>6</length>                  
-      <add>1.7</add>  
-  </field> 
+  <field>
+      <name>relationship_direction</name>
+      <type>varchar</type>
+      <length>6</length>
+      <add>1.7</add>
+  </field>
   <field>
         <name>grouping</name>
         <type>int unsigned</type>
        IN, NOT IN, LIKE, NOT LIKE, IS NULL, IS NOT NULL</values>
        <comment>SQL WHERE operator for search-builder mapping fields (search criteria).</comment>
       <add>1.5</add>
+      <html>
+        <type>Select</type>
+      </html>
   </field>
   <field>
        <name>value</name>