Class AssignValueAction
Assign a value to all fields matching the FieldPath (JSON path).
Inheritance
AssignValueAction
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class AssignValueAction : BusinessRuleAction
Properties
ID of the field, the value should be inserted in.
Declaration
[JsonProperty("fieldId", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string FieldId { get; set; }
Property Value
Path to the object the value should be inserted in.
Declaration
[JsonProperty("path", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Path { get; set; }
Property Value
Indicates whether existing values should be replaced.
Note: for multi fieldsets and relations, this setting controls, if the value is added
to the already existing values or if the existing values shall be overwritten.
Declaration
[JsonProperty("replace", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public bool Replace { get; set; }
Property Value
Declaration
[JsonProperty("value", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public object Value { get; set; }
Property Value
Methods
Declaration
public static AssignValueAction FromJson(string data)
Parameters
Returns