I have a custom entity A, which contains an annotation column (a built in entity that support upload files). I want to be able to read the annotation id for the entity record i get when a plugin is triggered.
The entity has all attributes i am except the annotation in any form, no referenced entity. It is worth to note that annotation entity is listed in the relationship tab but there is no reference to annotation field in the fields view in Dynamics online.
How can i lookup or get the annotation id in the entity A in a custom plugin.
The plugin triggers on the create message from custom entity A, since it has all the columns i want to process in addition the file uploaded in the annotation entity.
I looked at the sample sdk sample, but it is not useful since i want to get the annotation id first before retrieving it.
Any pointers or sample are appreciated it.