in Search
 
Home Forums Marketplace Files
 
 
 

CapaSync / NotifySendFlags

Last post 06-22-2009, 10:27 AM by highflight56. 1 replies.
Sort Posts: Previous Next
  •  06-22-2009, 9:56 AM 14729

    CapaSync / NotifySendFlags

    Hello Folks -

    Having some trouble with the Active Directory -> RightFax transform .Xsl file...in particular setting the NotifySendFlags RF attribute / property.  In the white paper it says you can compine values by OR'ing them together.  I'm just learning XML / XSL.  Anyone ever done this?

      <xsl:template match="rf:attr[@name='mail']">
        <xsl:variable name="emailadd" select="../rf:attr[@name='mail']"/>
        <xsl:choose>
          <xsl:when test="string-length($emailadd)!=0">
            <attr name="RouteInfo">
              <xsl:value-of select="$emailadd"/>
            </attr>
            <attr name="RouteType">
              <!-- SMTP = 12 -->
              <value>12</value>
            </attr>
            <attr name="NotifyInfo">
              <xsl:value-of select="$emailadd"/>
            </attr>
            <attr name="NotifyType">
              <!-- SMTP = 18 -->
              <value>18</value>
            </attr>
            <attr name="NotifySendFlags">
              <!-- Bunch Of Numeric Hex Flags "OR"d Together-->
              <value>#x0020|#x0040</value>                               <-- PROBLEM!
            </attr>       
            <attr name="RouteFormat">
              <!-- PDF = 5 -->
              <value>5</value>
            </attr>
            <attr name="EmailAddress">
              <xsl:value-of select="$emailadd"/>
            </attr>
          </xsl:when>
          <xsl:otherwise>
            <attr name="RouteType">
              <!-- RightFax MailBox = 0 -->
              <value>0</value>
            </attr>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>

     

  •  06-22-2009, 10:27 AM 14734 in reply to 14729

    Re: CapaSync / NotifySendFlags

    Never mind.  Figured it out.
View as RSS news feed in XML
  Privacy    Site Terms   Contact Administrator