<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Usage of New column configured and using it in transformation script]]></title><description><![CDATA[<p dir="auto">Hi, I have one table type dci with 5 columns, which is already collecting data, now if I edit the DCI and add new 6th column Col6 ,  I could not call newly added column in transformation script like<br />
idxcol6 = $1-&gt;getColumnIndex("Col6");<br />
$1-&gt;set(i,idxcol6, 2);<br />
I get error as "Error 19 in line 2: Function or operation argument is not a whole number"<br />
I get this error even after I restart the server and agent<br />
But in column definition I could see new column being added<br />
Is it not possible to configure add new column to DCI and use it in transformation script?</p>
]]></description><link>https://forum.netxms.org/topic/3832/usage-of-new-column-configured-and-using-it-in-transformation-script</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:07:25 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3832.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jun 2015 08:11:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Usage of New column configured and using it in transformation script on Wed, 30 Dec 2015 21:45:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">there are no limit on number of table columns. Can you show full script, maybe problem is elsewhere?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/18734</link><guid isPermaLink="true">https://forum.netxms.org/post/18734</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 30 Dec 2015 21:45:54 GMT</pubDate></item><item><title><![CDATA[Reply to Usage of New column configured and using it in transformation script on Mon, 28 Dec 2015 11:49:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
Is it not possible to add more than 10 columns using $1-&gt;addColumn("Column Name"); ?<br />
If I try to add 11th column and set value to it using transfermation script,  it is not getting displayed in Table latest value<br />
How to add 11th column ?</p>
<p dir="auto">Thanks<br />
Naga</p>
]]></description><link>https://forum.netxms.org/post/18720</link><guid isPermaLink="true">https://forum.netxms.org/post/18720</guid><dc:creator><![CDATA[Nagav]]></dc:creator><pubDate>Mon, 28 Dec 2015 11:49:18 GMT</pubDate></item><item><title><![CDATA[Reply to Usage of New column configured and using it in transformation script on Fri, 19 Jun 2015 15:45:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">the problem is that in transformation script you got table as it received from agent. If you want to fill additional column in transformation script you should add it in script like this:</p>
<p dir="auto">$1-&gt;addColumn("Col6");</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17114</link><guid isPermaLink="true">https://forum.netxms.org/post/17114</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 19 Jun 2015 15:45:38 GMT</pubDate></item></channel></rss>