CrmServiceClient.CreateAnnotation Method (String, Guid, Dictionary(Of String, CrmDataTypeWrapper), Guid)
Dynamics CRM 2016
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
This creates a annotation [note] entry, related to a an existing entity
Required Properties in the fieldList
notetext (string) = Text of the note,
subject (string) = this is the title of the note
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Public Function CreateAnnotation ( targetEntityTypeName As String, targetEntityId As Guid, fieldList As Dictionary(Of String, CrmDataTypeWrapper), batchId As Guid ) As Guid
Parameters
- targetEntityTypeName
-
Type:
System.String
Target Entity TypeID
- targetEntityId
-
Type:
System.Guid
Target Entity ID
- fieldList
-
Type:
System.Collections.Generic.Dictionary(Of String, CrmDataTypeWrapper)
Fields to populate
- batchId
-
Type:
System.Guid
Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately
Return Value
Type: System.GuidMicrosoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright
Community Additions
ADD
Show: