CrmServiceClient.CreateOrUpdatePickListElement Method (String, String, List(Of LocalizedLabel), Int32, Boolean)
Dynamics CRM 2016
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Adds an option to a pick list on an entity.
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Public Function CreateOrUpdatePickListElement ( targetEntity As String, attribName As String, locLabelList As List(Of LocalizedLabel), valueData As Integer, publishOnComplete As Boolean ) As Boolean
Parameters
- targetEntity
-
Type:
System.String
Entity Name to Target
- attribName
-
Type:
System.String
Attribute Name on the Entity
- locLabelList
-
Type:
System.Collections.Generic.List(Of LocalizedLabel)
List of Localized Labels
- valueData
-
Type:
System.Int32
integer Value
- publishOnComplete
-
Type:
System.Boolean
Publishes the Update to the Live system.. note this is a time consuming process.. if you are doing a batch up updates, call PublishEntity Separately when you are finished.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright
Community Additions
ADD
Show: