Extracting Attachments from notes and emails in readable format, on premise 2011 RRS feed

  • Question

  • I understand that the tables 'ActivityMimeAttachment' and  'Attachment' deal with emails and I understand that the table 'AnnotationBase' deals with other entities.  The 'body' and 'DocumentBody' columns contain information in a format that is not readable outside of CRM.

    Ideally not using Dot Net programming, what is the easiest free way to extract these in a normal format?   However, we will use C# if other methods are impractical.
    Tuesday, May 26, 2015 3:51 PM

All replies

  • The body and documentbody are stored as Base64 encoded strings. You can convert this to a byte array in .Net using the Convert.FromBase64String() method, then write the byte array to whatever stream you want

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, May 26, 2015 4:00 PM