<?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[DCI from table element]]></title><description><![CDATA[<p dir="auto">Hello,<br />
is it possible to create a DCI from a table element?</p>
<p dir="auto">I would have a DCI that gives me the version of an installed program (from table System.InstalledProducts) so that I will be able to create a symmary table with installed version for all clients.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.netxms.org/topic/6955/dci-from-table-element</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:23:10 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6955.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Feb 2021 12:58:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DCI from table element on Fri, 18 Feb 2022 10:19:22 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for this have used this for our own netxms.</p>
]]></description><link>https://forum.netxms.org/post/31041</link><guid isPermaLink="true">https://forum.netxms.org/post/31041</guid><dc:creator><![CDATA[jdowney]]></dc:creator><pubDate>Fri, 18 Feb 2022 10:19:22 GMT</pubDate></item><item><title><![CDATA[Reply to DCI from table element on Fri, 18 Feb 2022 07:05:48 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Filipp<br />
I went though all of the brackets yes I was lazy.. {}[]()</p>
<p dir="auto">Passing arguments to scripts.</p>
<p dir="auto"></p>
<p dir="auto">Picture being a thousand words</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005635-Screenshot_from_2022-02-18_08-59-15.png" alt="Screenshot from 2022-02-18 08-59-15.png" class="img-markdown  img-fluid" width="955" height="764" /></p>
]]></description><link>https://forum.netxms.org/post/31040</link><guid isPermaLink="true">https://forum.netxms.org/post/31040</guid><dc:creator><![CDATA[Dawid Kellerman]]></dc:creator><pubDate>Fri, 18 Feb 2022 07:05:48 GMT</pubDate></item><item><title><![CDATA[Reply to DCI from table element on Thu, 17 Feb 2022 16:16:30 GMT]]></title><description><![CDATA[<p dir="auto">If you are using Script DCI to call the script, script parameters can be given in brackets after script name in parameter field.</p>
]]></description><link>https://forum.netxms.org/post/31036</link><guid isPermaLink="true">https://forum.netxms.org/post/31036</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 17 Feb 2022 16:16:30 GMT</pubDate></item><item><title><![CDATA[Reply to DCI from table element on Thu, 17 Feb 2022 10:58:53 GMT]]></title><description><![CDATA[<p dir="auto">Hi would some one you be so kind as to show how do I pass the argument to the script<br />
I have it in the scripts but I set the ARG to "ProductVersionWantName" since I dont know or could not find how to pass the argument when setting the DCI<br />
Regards Dawid</p>
]]></description><link>https://forum.netxms.org/post/31033</link><guid isPermaLink="true">https://forum.netxms.org/post/31033</guid><dc:creator><![CDATA[Dawid Kellerman]]></dc:creator><pubDate>Thu, 17 Feb 2022 10:58:53 GMT</pubDate></item><item><title><![CDATA[Reply to DCI from table element on Thu, 25 Feb 2021 10:35:26 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much Victor</p>
]]></description><link>https://forum.netxms.org/post/29610</link><guid isPermaLink="true">https://forum.netxms.org/post/29610</guid><dc:creator><![CDATA[wuwei]]></dc:creator><pubDate>Thu, 25 Feb 2021 10:35:26 GMT</pubDate></item><item><title><![CDATA[Reply to DCI from table element on Wed, 24 Feb 2021 13:23:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you can use script DCI that will read table value either directly from agent or from table DCI and extract version of product of interest. For example, this script accepts package name as argument and return it's version, directly reading table from agent:</p>
<pre><code>packages = $node-&gt;readAgentTable("System.InstalledProducts");
if (packages == null)
   return null;
for(p : packages-&gt;rows)
{
   name = p-&gt;get(0);
   if (name == $ARGS[1])
      return p-&gt;get(1);
}
return null;
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/29603</link><guid isPermaLink="true">https://forum.netxms.org/post/29603</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 24 Feb 2021 13:23:22 GMT</pubDate></item></channel></rss>