Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Where is the Annotation class?

(0) ShareShare
ReportReport
Posted on by 105

Part of my task includes using a known GUID for a specific entity type (for example, Account) to upload an associated file.  I found the following example through the Dynamics developers resources...

https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/sample-upload-retrieve-download-attachment

The example uses a class called Annotation.  But I can't find the Annotation class in any of the libraries that seem to be required for connection with Dynamics CRM.  When I just type in Annotation and look at the help menu, I get these options...

AnnotationNameSpaces.png

And neither of those using-options matches this need.

So, where are those Annotations for Dynamics CRM that equate to Notes?  Or what should I be using instead to upload files to attach them to various entities?

*This post is locked for comments

  • Kevin T 9 Profile Picture
    Kevin T 9 105 on at
    RE: Where is the Annotation class?

    Oof.  I'm disappointed that Microsoft didn't do better than that, but I understand now.  Thank you for the answer.

  • Verified answer
    Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: Where is the Annotation class?

    Hi Kevin,

    You need to use the crmsvc tool from the SDK to generate the early bound classes

    See: msdn.microsoft.com/.../gg327844.aspx

    This will generate a .cs file with classes for the CRM entities which you can add to you Visual Studio Project

    Similar community post: https://community.dynamics.com/crm/f/117/t/222537

    Hope this helps

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,317 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans