Freigeben über


CrmServiceClient.CreateAnnotation Method (String, Guid, Dictionary<String, CrmDataTypeWrapper>, Guid)

 

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

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public Guid CreateAnnotation(
    string targetEntityTypeName,
    Guid targetEntityId,
    Dictionary<string, CrmDataTypeWrapper> fieldList,
    Guid batchId = null
)
Public Function CreateAnnotation (
    targetEntityTypeName As String,
    targetEntityId As Guid,
    fieldList As Dictionary(Of String, CrmDataTypeWrapper),
    batchId As Guid
) As Guid

Parameters

  • 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.Guid

See Also

CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright