Hi,
I'm trying to use a Parameter Control shape but it keeps modifying the wrong row. Modifying the row directly in the table works fine. The primary keys of the table consists only of integers.
The shape data:
The table:
<Param id="500">
<Name>StreamUsage</Name>
<Description>Stream Usage</Description>
<Type>array</Type>
<ArrayOptions index="0" options=";naming=/503">
<ColumnOption idx="0" pid="501" type="retrieved" options="" />
<ColumnOption idx="1" pid="502" type="retrieved" options=";save" />
<ColumnOption idx="2" pid="503" type="retrieved" options=";save" />
<ColumnOption idx="3" pid="504" type="retrieved" options=";save" />
<ColumnOption idx="4" pid="505" type="retrieved" options=";save" />
<ColumnOption idx="5" pid="506" type="retrieved" options=";save" />
<ColumnOption idx="6" pid="507" type="retrieved" options=";save" />
<ColumnOption idx="7" pid="508" type="retrieved" options="" />
<ColumnOption idx="8" pid="509" type="retrieved" options=";save" />
<ColumnOption idx="9" pid="510" type="retrieved" options="" />
<ColumnOption idx="10" pid="511" type="retrieved" options=";foreignKey=9000" />
<ColumnOption idx="11" pid="512" type="retrieved" options=";save" />
<ColumnOption idx="12" pid="513" type="retrieved" options=";save" />
<ColumnOption idx="13" pid="514" type="retrieved" options=";save" />
<ColumnOption idx="14" pid="515" type="retrieved" options=";save" />
<ColumnOption idx="15" pid="516" type="retrieved" options=";save" />
<ColumnOption idx="16" pid="517" type="retrieved" options="" />
<ColumnOption idx="17" pid="518" type="retrieved" options="" />
<ColumnOption idx="18" pid="519" type="retrieved" options="" />
<ColumnOption idx="19" pid="520" type="retrieved" options=";save" />
<ColumnOption idx="20" pid="521" type="retrieved" options="" />
<ColumnOption idx="21" pid="522" type="retrieved" options=";save" />
<ColumnOption idx="22" pid="523" type="retrieved" options=";save" />
</ArrayOptions>
<Information>
<Subtext>Stream Usage</Subtext>
</Information>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>Stream Usage</Page>
<Column>0</Column>
<Row>0</Row>
</Position>
</Positions>
</Display>
<Measurement>
<Type options="tab=columns:501|0-502|1-503|2-504|3-505|4-506|5-507|6-508|7-509|8-510|9-511|10-512|11-513|12-514|13-515|14-516|15-517|16-518|17-519|18-520|19-521|20-522|21-523|22,width:80-73-95-126-150-125-125-80-64-83-187-140-100-102-59-132-97-124-141-144-150-100-123,sort:STRING-INT-STRING|ASC|2-STRING-STRING-INT|ASC|0-INT|ASC|1-STRING-INT-INT-STRING-STRING-STRING-STRING-INT-STRING-INT-INT-STRING-STRING-STRING-STRING-STRING,lines:25,filter:true">table</Type>
</Measurement>
</Param>
<Param id="501" trending="false" duplicateAs="1301">
<Name>StreamUsageId</Name>
<Description>Id (Stream Usage)</Description>
<Type>read</Type>
<Information>
<Subtext>This is the key used internally by DataMiner to identify the table entries.</Subtext>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="502" trending="false" duplicateAs="1302">
<Name>StreamUsageEquipmentId</Name>
<Description>Stream Id (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>
<Param id="503" trending="false" duplicateAs="1303">
<Name>StreamUsageEquipmentName</Name>
<Description>Stream Name (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="504" trending="false" duplicateAs="1304">
<Name>StreamUsageEquipmentDescription</Name>
<Description>Stream Description (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="505" trending="false" duplicateAs="1305">
<Name>StreamUsageEvent</Name>
<Description>Event (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="506" trending="false" duplicateAs="1306">
<Name>StreamUsageStart</Name>
<Description>Start (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
<Decimals>8</Decimals>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Decimals>8</Decimals>
</Display>
<Measurement>
<Type options="datetime:minute">number</Type>
</Measurement>
</Param>
<Param id="556" duplicateAs="1356" setter="false">
<Name>StreamUsageStart</Name>
<Description>Start (Stream Usage)</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
<Decimals>8</Decimals>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Decimals>8</Decimals>
</Display>
<Measurement>
<Type options="datetime:minute">number</Type>
</Measurement>
</Param>
<Param id="507" trending="false" duplicateAs="1307">
<Name>StreamUsageEnd</Name>
<Description>End (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
<Decimals>8</Decimals>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Decimals>8</Decimals>
</Display>
<Measurement>
<Type options="datetime:minute">number</Type>
</Measurement>
</Param>
<Param id="508" trending="false" duplicateAs="1308">
<Name>StreamUsageEventType</Name>
<Description>Event Type (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="509" trending="false" duplicateAs="1309">
<Name>StreamUsageEventId</Name>
<Description>Event Id (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>
<Param id="510" trending="false">
<Name>StreamUsageMCRStatus</Name>
<Description>MCR Status (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>Routed</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>Line-Up</Display>
<Value>2</Value>
</Discreet>
<Discreet>
<Display>On-Air</Display>
<Value>3</Value>
</Discreet>
<Discreet>
<Display>Finished</Display>
<Value>4</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="511" trending="false">
<Name>StreamUsageSDNOVideoDestinationId</Name>
<Description>SDNO Video Destination Id (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="512" trending="false">
<Name>StreamUsageSource</Name>
<Description>Source From Booking (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="513" trending="false" save="true">
<Name>StreamUsageAutoRoute</Name>
<Description>Auto Route (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>Enabled</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>Disabled</Display>
<Value>0</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="563" setter="false">
<Name>StreamUsageAutoRoute</Name>
<Description>Auto Route (Stream Usage)</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>togglebutton</Type>
<Discreets>
<Discreet>
<Display>Enabled</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>Disabled</Display>
<Value>0</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="514" trending="false">
<Name>StreamUsageManualSource</Name>
<Description>Manual Source (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="564" setter="true">
<Name>StreamUsageManualSource</Name>
<Description>Manual Source (Stream Usage)</Description>
<Type>write</Type>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="515" trending="false">
<Name>StreamUsagePreRoll</Name>
<Description>Pre Roll (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Units>min</Units>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>
<Param id="565" setter="true">
<Name>StreamUsagePreRoll</Name>
<Description>Pre Roll (Stream Usage)</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Units>min</Units>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>
<Param id="516" trending="false">
<Name>StreamUsageUseCustomPreRoll</Name>
<Description>Use Custom Pre Roll (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>True</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>False</Display>
<Value>0</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="566" setter="true">
<Name>StreamUsageUseCustomPreRoll</Name>
<Description>Use Custom Pre Roll (Stream Usage)</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>togglebutton</Type>
<Discreets>
<Discreet>
<Display>True</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>False</Display>
<Value>0</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="517" trending="false">
<Name>StreamUsageSourceLrcId</Name>
<Description>Source LRC ID (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>
<Param id="518" trending="false">
<Name>StreamUsageDestinationLrcId</Name>
<Description>Destination LRC ID (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>
<Param id="519" trending="false">
<Name>StreamUsageDestinationLrcLabel</Name>
<Description>Destination LRC Label (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
<Param id="520" trending="false" save="true">
<Name>StreamUsageAutoRouteSetManually</Name>
<Description>Auto Route Set Manually (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>True</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>False</Display>
<Value>0</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="570" setter="true">
<Name>StreamUsageAutoRouteSetManually</Name>
<Description>Auto Route Set Manually (Stream Usage)</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>togglebutton</Type>
<Discreets>
<Discreet>
<Display>True</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>False</Display>
<Value>0</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="521" trending="false">
<Name>StreamUsageEncroachmentWarning</Name>
<Description>Encroachment Warning (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>True</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>False</Display>
<Value>0</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="522" trending="false">
<Name>StreamUsageEnded</Name>
<Description>Ended (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>True</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>False</Display>
<Value>2</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="572" setter="true">
<Name>StreamUsageEnded</Name>
<Description>Ended (Stream Usage)</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>togglebutton</Type>
<Discreets>
<Discreet>
<Display>True</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>False</Display>
<Value>2</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="523" trending="false">
<Name>StreamUsageStartSetManually</Name>
<Description>Start Set Manually (Stream Usage)</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>True</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>False</Display>
<Value>2</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
<Param id="573" setter="true">
<Name>StreamUsageStartSetManually</Name>
<Description>Start Set Manually (Stream Usage)</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>togglebutton</Type>
<Discreets>
<Discreet>
<Display>True</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>False</Display>
<Value>2</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
Hi Toon. It seems like it works now?! Can’t really explain it but I spent most of Friday troubleshooting it without understanding what I did wrong. Maybe it’s some obscure bug that only pops up under certain circumstances. I guess this can be considered solved for now.
This seems to have solved itself.
Seems to work fine over here, even with tables that use naming, as well as initializing and even changing the card variable that represents the index. Do you have any idea what part is not working? Does it work when you use a static index, etc?