ReportFitSourceData Property

General info

Label

Fit Source Data

Description

Choose this option if you have stored design time data in the appropriate property and you want the system to evaluate differences between design and source data. This may impact the performance.

Data type

Boolean

Type

Regular

Code

2412

Symbolic name

MODEL_PROP_REPORTFITSOURCEDATA

Lua access code

syslib.model.properties.ReportFitSourceData

Available since

1.30

Parent properties

ReportItemProperties

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 ReportFitSourceData property.

  • Lua

  • C#

-- Read from the ReportFitSourceData
syslib.getvalue("<OBJECT FULL PATH>.ReportItemProperties.ReportFitSourceData")

-- Write to the ReportFitSourceData
syslib.setvalue("<OBJECT FULL PATH>.ReportItemProperties.ReportFitSourceData", true)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the ReportFitSourceData
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.ReportItemProperties.ReportFitSourceData"));
// Write to the ReportFitSourceData
Result result = sli.WriteValue(sc, new WriteItem(true, "<OBJECT FULL PATH>.ReportItemProperties.ReportFitSourceData"));