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

Link Annotation to User

(0) ShareShare
ReportReport
Posted on by 5

Hi there

I'm trying to create a simple Power BI dashboard to show a summary of Notes created by our sales team, but I can't find the Contact ID in the Annotations table that represents the User that entered the Notes.

Anyone know the answer to this? Thanks...Grant

In addition, the actual notetext field displays (for some records) with style sheet code as per below. I'm assuming that this is unavoidable?


<div data-wrapper="true" style='font-size: 9pt; font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, sans-serif;'>
<div>29/5 popped in and updated folders in both trade and showroom with the new water spec guides. Spoke to new warehouse guy he is ex Australia</div>
</div>
I have the same question (0)
  • Verified answer
    Linn Zaw Win Profile Picture
    3,407 on at

    objectid is field in Annotation (Note) entity which stores the GUID of the related records (including Contact ID). The objecttypecodename field contains the logical name of the related entity and for the notes related to the Contact record, the value of the objecttypecodename field will be "contact".

    Those style sheet tags were added as part of Rich text notes feature in 2020 release wave 1. The only thing to prevent is by disabling the feature in the system settings or remove HTML tags in the Power Query.

  • Suggested answer
    Grant_Rinnai Profile Picture
    5 on at

    Thanks @Linn Zaw Win for that great info.

    I'm after the name of the User that created the Annotation and think I found the answer with a search. I have to join the Annotations table to the Systemusers table on the _owninguser_value field. Just checking now to establish if the resulting user is the person that created the note or if it's the owner of the record that has the note against it.

  • Suggested answer
    Linn Zaw Win Profile Picture
    3,407 on at

     is a spambot. Please just ignore and "Report as abusive".

    The User that created the Annotation is stored in "CreatedOn" field. (not the owninguse) owninguser is the owner of the note record itself (the record that has the note against it has its own owninguser field).

    Here is the OData 4.0 query to get the notes and the full name of the user who created the record.

    https://<>/api/data/v9.1/annotations?$select=_createdby_value&$expand=createdby($select=fullname)

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
iampranjal Profile Picture

iampranjal 45

#2
Martin Dráb Profile Picture

Martin Dráb 38 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans