Skip to main content

ImportDataPointMappingsNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

Configuration for the ImportDataPointMappings node.

The node reads a mapping export document (produced by ExportDataPointMappingsNodeConfiguration) from the data context and resolves each entry's source/target back to runtime entities. Resolution order per endpoint: RtId (valid only for same-tenant round trips) → identity attribute value (e.g. LoxoneUuid — survives tenant re-initialisation because the source system assigns it) → unique entity name.

Resolved entries are emitted in the GenerateDataPointMappings suggestion shape (plus an enabled field), so the SAME downstream persistence chain (GetOrCreate by name + CreateUpdateInfo + CreateAssociationUpdate + ApplyChanges) consumes generated, AI-suggested and imported mappings alike. Entries that cannot be resolved are reported in the statistics object for manual follow-up — they are never guessed.

public record ImportDataPointMappingsNodeConfiguration : TargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<ImportDataPointMappingsNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → ImportDataPointMappingsNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<ImportDataPointMappingsNodeConfiguration>

Properties

Path

JSONPath of the mapping export document in the data context (e.g. "$.importDocument" after a FromHttpRequest upload).

public string Path { get; set; }

Property Value

String

StatisticsTargetPath

Optional JSONPath to write the import statistics to (total, resolved, unresolved entries with the reason per entry).

public string StatisticsTargetPath { get; set; }

Property Value

String

TargetPath

public string TargetPath { get; set; }

Property Value

String

TargetValueWriteMode

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value

TargetValueWriteModes

TargetValueKind

public ValueKinds TargetValueKind { get; set; }

Property Value

ValueKinds

DocumentMode

public DocumentModes DocumentMode { get; set; }

Property Value

DocumentModes

Description

public string Description { get; set; }

Property Value

String

Constructors

ImportDataPointMappingsNodeConfiguration()

Caution

Constructors of types with required members are not supported in this version of your compiler.


public ImportDataPointMappingsNodeConfiguration()