web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Documents stored on the Timeline of a Contact

(0) ShareShare
ReportReport
Posted on by

Hi everyone

We have many contacts on our CRM that have documents attached in their Timeline (as per the image below):

pastedimage1667396283021v1.png

Whereabouts would these attachments be stored in the CRM tables? I can see the Notes using Advanced Find, but I'm unable to see where the documents are actually stored.

Many thanks
Jon

I have the same question (0)
  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi JonClay,

    If a user uploads a file to a note, the attachment is stored in the Annotation(Note) table.

    There is one field named DocumentBody in the table, which stores contents of the note's attachment, and the field is a base64 encoded string.

    https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/entities/annotation?view=op-9-1#BKMK_DocumentBody 

    ======

    The option to get documentbody is via CRM OData call. 

    Here is the example:  https://<your org url>/api/data/v9.2/annotations?$filter=startswith(filename,'<your file name>')

    pastedimage1667445883720v1.png

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    DocumetBody field of Notes entity can not added/shown in Advanced find.

    You will either use Web Api in browser OR write console c# application to retrieve this field value and download the attachment on your local machine

  • JonClay Profile Picture
    on at

    Hi Leah Ju 

    Thank you very much. I will take a look.

    Best wishes
    Jon

  • JonClay Profile Picture
    on at

    Hi Bipin Kumar

    Thank you very much. I will speak to our developer as this is a bit too advanced for me!

    Best wishes

    Jon

  • Leah Ju Profile Picture
    Microsoft Employee on at

    Hi JonClay,

    Have any updates?

    Could you click 'Yes' under title to mark this as a verified answer if my reply is helpful?

    Thanks in advance!:)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans