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.
- 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>
- Add the field
Category
to Forms.xml.<form type="vevent"> <table tablename="Contact"> <field fieldname="Category"/> </table> </form>
- 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>
- 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>
- Restart CRM.interface application pool and connector service.