Skip to main content

UpdateOptionValueRequest

  • Namespace: PPDS.Dataverse.Metadata.Authoring
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary​

Request to update an existing option value in an option set. Target the option by PPDS.Dataverse.Metadata.Authoring.UpdateOptionValueRequest.Value or PPDS.Dataverse.Metadata.Authoring.UpdateOptionValueRequest.Label (exactly one); PPDS.Dataverse.Metadata.Authoring.UpdateOptionValueRequest.NewLabel carries the updated label (#1170).

Members​

Properties​

AttributeLogicalName​

string AttributeLogicalName { get; set; }

Gets or sets the attribute logical name (for local option sets).

Color​

string Color { get; set; }

Gets or sets the updated color for the option (hex string).

Description​

string Description { get; set; }

Gets or sets the updated description for the option.

DryRun​

bool DryRun { get; set; }

Gets or sets whether this is a dry-run (validation only, no changes persisted) (#1172).

EntityLogicalName​

string EntityLogicalName { get; set; }

Gets or sets the entity logical name (for local option sets).

Label​

string Label { get; set; }

Gets or sets the target option current label (mutually exclusive with PPDS.Dataverse.Metadata.Authoring.UpdateOptionValueRequest.Value).

NewLabel​

string NewLabel { get; set; }

Gets or sets the new label to apply (optional; the current label is preserved when omitted).

OptionSetName​

string OptionSetName { get; set; }

Gets or sets the name of the option set.

SolutionUniqueName​

string SolutionUniqueName { get; set; }

Gets or sets the unique name of the solution containing the option set.

Value​

Nullable<int> Value { get; set; }

Gets or sets the target option value (mutually exclusive with PPDS.Dataverse.Metadata.Authoring.UpdateOptionValueRequest.Label).