Flagging internal appointments

Internal appointments created in Outlook are specially flagged to enable hooking in special business logic on CRM.interface side.

Internal appointments are appointments which do not have any external participants - or internal appointments are appointments where all participants belong to internal mail spaces.

The flag is set to true only if the mail addresses of all of uninvited/invited recipients belong to defined mail spaces. If there are any ambiguities – e.g. if there is an attendee without an e-mail address the flag is set to false

In this case the attribute x-internal="true" is sent to the server. x-internal is a new attribute of the <vevent> Tag.

Using this flag (attribute) you could think about establishing special rights on "internal" (or "external" appointments). The following sample illustrates how to trigger this information into Field FreeL1 of the contact info area. In order to activate this functionality you need to un-comment the following blocks in the style-sheet.

  1. process this flag in SyncML_gw2mm.xslt
    <xsl:if test='@x-internal="true"'>
     <xsl:element name='field'>
      <xsl:attribute name='name'> x-mmContactType</xsl:attribute>
      <xsl:attribute name='tablename'>Contact</xsl:attribute>
      <xsl:attribute name='fieldname'>FreeL1</xsl:attribute>true
     </xsl:element>
    </xsl:if>
  2. add FreeL1 to forms.xml
    <form type="vevent">
     <table tablename="Contact">
      <field fieldname="FreeL1"/>
     </table>
    </form>