SetLocLabelsRequest Class

Definition

Contains the data that is needed to set localized labels for a limited set of entity attributes.

For the Web API use the SetLocLabels Action.

public ref class SetLocLabelsRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class SetLocLabelsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type SetLocLabelsRequest = class
    inherit OrganizationRequest
Public NotInheritable Class SetLocLabelsRequest
Inherits OrganizationRequest
Inheritance
SetLocLabelsRequest
Attributes

Remarks

Message Availability

For this message to work, the caller must be connected to the server.

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of SetLocLabelsResponse.

Privileges and Access Rights

To perform this action, the caller must have privileges listed in SetLocLabels message privileges.

Notes for Callers

This message only sets the localized display names for specific entity attributes. It cannot set localized labels used for other application user interface areas such as labels used in the ribbon or form elements.

Supported Entities

This message is supported by the following entity attributes and localizable properties:

  • DynamicProperty.Name

  • DynamicPropertyOptionSetItem.DynamicPropertyOptionName

  • DynamicPropertyOptionSetItem.DynamicPropertyOptionDescription

  • Product.Name

  • SavedQuery.Description

  • SavedQuery.Name

  • SavedQueryVisualization.Description

  • SavedQueryVisualization.Name

  • SystemForm.Description

  • SystemForm.Name

  • TimeZoneDefinition.UserInterfaceName

  • TimeZoneDefinition.StandardName

  • TimeZoneLocalizedName.UserInterfaceName

Constructors

SetLocLabelsRequest()

Initializes a new instance of the SetLocLabelsRequest class

Properties

AttributeName

Gets or sets the name of the attribute. Required.

EntityMoniker

Gets or sets the entity. Required.

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Labels

Gets or sets the label. Required.

Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)

Applies to