Presence / MSN Messenger and systemuser attributes... RRS feed

  • Question

  • We'd like to integrate MSN/Windows Live Messenger presence into our CRM 4.0 install.  The problem is that it goes against the internalemailaddress field of systemuser, which has no relation to the MSN messenger id for that user.  We don't use Exchange or Hotmail for obvious reasons (<disableflamewar/>).  So the question is, is there someplace in the "modifiable" code that we could get presence to go against a different attribute?
    Monday, June 15, 2009 5:09 PM


  • The short answer is no, this cannot be done in a supportable manner.  The email address to use for presence is hard-coded in the dll used by presenceservice.asmx.

    The long answer is you might be able to point the javascript code to a custom web service which returns the results of your choice.  You can use Fiddler to retrieve the syntax of the xml response and there are pointers in the SDK help file for consuming web services in CRM.  All of this is assuming you want the presence for both views and forms.  If the views are not relevant, review Adi Katz's blog entry on how to modify presence on the forms:  http://mscrm4ever.blogspot.com/2008/09/adding-presence-to-crm-form-fields.html.

    This is on the upper end of unsupported, so be prepared for no official support if things go south and test this in dev before trying on production.
    • Marked as answer by djMaxM Monday, June 15, 2009 7:04 PM
    Monday, June 15, 2009 6:45 PM