Example | Synchronizing Additional Appointment Fields – "Category"

An example to illustrate how to synchronize the Category field from Outlook to Aurea CRM and vice versa.

Assumption: You have created a (generic) field Category for the MA table in Aurea CRM.

  1. Add the mapping for Category to FieldMapping.xml
    <Appointments>
     <MappableFields>
      <Field MapFieldID="2" OLDisplName="Category" MSExFieldName="Keywords" MSExFieldType="PT_MV_STRING8"/>
     </MappableFields>
     <FieldMapping>
      <Map UpdFieldName = "Category" MapFieldID="2"/>
     </FieldMapping>
    </Appointments>
  2. Add the field Category to Forms.xml.
    <form type="vevent">
     <table tablename="Contact">
      <field fieldname="Category"/>
     </table>
    </form>
  3. Add the following block to SyncML_gw2mm.xslt
    <xsl:if test='syncml:Category'>
     <xsl:element name ='field'>
      <xsl:attribute name='name'>Category</xsl:attribute>
      <xsl:attribute name='tablename'>Contact</xsl:attribute>
      <xsl:attribute name='fieldname'>Category</xsl:attribute>
      <xsl:value-of select='syncml:Category'/>
     </xsl:element>
    </xsl:if>
  4. Add the following block to to SyncML_mm2gw.xslt
    <xsl:if test='syncml:Category'>
     <xsl:element name='Category' namespace='SYNCML:SYNCML1.1'>
      <xsl:value-of select='syncml:Category'/>
     </xsl:element>
    </xsl:if>
  5. Restart CRM.interface application pool and connector service.