TagConfiguration Property

General info

Label

Tag Configuration

Description

Optional tag configuration that can be used by lookups in data processing script

Data type

String

Type

TableSchemaLess

Code

6512

Symbolic name

MODEL_PROP_TAGCONFIGURATION

Lua access code

inmation.model.properties.TagConfiguration

Parent properties

DataProcessing

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs

Examples

Read from or write to the TagConfiguration property.

  • Lua

  • C#

-- Read from the TagConfiguration
inmation.getvalue("<OBJECT FULL PATH>.ODBCDatasource.DataProcessing.TagConfiguration")

-- Write to the TagConfiguration
inmation.setvalue("<OBJECT FULL PATH>.ODBCDatasource.DataProcessing.TagConfiguration", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the TagConfiguration
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.ODBCDatasource.DataProcessing.TagConfiguration"));
// Write to the TagConfiguration
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.ODBCDatasource.DataProcessing.TagConfiguration"));