CrmServiceClientCreateNewActivityEntry Method

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Creates a new activity against the target entity type

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

No code example is currently available or this language may not be supported.

Parameters

activityEntityTypeName
Type:

Type of Activity you would like to create

regardingEntityTypeName
Type:

Entity type of the Entity you want to associate with.

subject
Type:

Subject Line of the Activity

description
Type:

Description Text of the Activity

regardingId
Type:

ID of the Entity to associate the Activity too

creatingUserId
Type:

User ID that Created the Activity *Calling user must have necessary permissions to assign to another user

fieldList
Type:

Additional fields to add as part of the activity creation

batchId
Type:

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:

Guid of Activity ID or Guid.empty

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: