EntitySetAttributeValue Method

 

Updated: November 29, 2016

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

Sets the value of an attribute.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

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

Parameters

attributeLogicalName
Type:

Type: String. The logical name of the attribute.

value
Type:

Type: Object. The value to set.

record.SetAttributeValue("new_recipename", "Chocolate Tart");
Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: