CrmServiceClientCreateNewRecord Method

 

Updated: November 29, 2016

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

Uses the dynamic entity pattern to create a new entity record.

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

entityName
Type:

Name of entity to create a record.

valueArray
Type:

List of initial values in the new entity record.

applyToSolution
Type:

Optional. Applies the update with a solution by unique name.

enabledDuplicateDetection
Type:

Optional. If true, duplicate detection is enabled; otherwise false.

batchId
Type:

Optional. If set to a valid GUID (ID returned by the CreateBatchOperationRequest method), the request is assigned to a batch for later execution. If you do not specify a value in this parameter, the request to create an entity record runs immediately.

Return Value

Type:

Returns a GUID (entity record ID) on Success; Guid.Empty if the request fails.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: