CrmServiceClient.CreateOrUpdatePickListElement(String, String, List<LocalizedLabel>, Int32, Boolean)
CrmServiceClient.CreateOrUpdatePickListElement(String, String, List<LocalizedLabel>, Int32, Boolean)
CrmServiceClient.CreateOrUpdatePickListElement(String, String, List<LocalizedLabel>, Int32, Boolean)
CrmServiceClient.CreateOrUpdatePickListElement(String, String, List<LocalizedLabel>, Int32, Boolean)
Method
Definition
Adds an option to a pick list on an entity.
public:
bool CreateOrUpdatePickListElement(System::String ^ targetEntity, System::String ^ attribName, System::Collections::Generic::List<Microsoft::Xrm::Sdk::LocalizedLabel ^> ^ locLabelList, int valueData, bool publishOnComplete);
public bool CreateOrUpdatePickListElement (string targetEntity, string attribName, System.Collections.Generic.List<Microsoft.Xrm.Sdk.LocalizedLabel> locLabelList, int valueData, bool publishOnComplete);
member this.CreateOrUpdatePickListElement : string * string * System.Collections.Generic.List<Microsoft.Xrm.Sdk.LocalizedLabel> * int * bool -> bool
Public Function CreateOrUpdatePickListElement (targetEntity As String, attribName As String, locLabelList As List(Of LocalizedLabel), valueData As Integer, publishOnComplete As Boolean) As Boolean
Parameters
- locLabelList
- List<LocalizedLabel>
List of Localized Labels
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.
Returns
Remarks