<?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[Scripting variable for node "Product code"]]></title><description><![CDATA[<p dir="auto">I am trying to create a script to match the "Product Code" shown in the General info of a device. It is not in the Wiki Node list but I also I tried using $node-&gt;productCode and several variations, however, none worked.</p>
<p dir="auto">I also tried the function GetCustomAttribute($node, "productCode")); with several variations of the name, but all come back null.</p>
<p dir="auto">Is it any way possible to access this data field?<br />
Thank you!</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005097-lhg.png" alt="lhg.png" class="img-markdown  img-fluid" width="428" height="317" /></p>
]]></description><link>https://forum.netxms.org/topic/6454/scripting-variable-for-node-product-code</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:48:06 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6454.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Mar 2020 01:55:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Scripting variable for node "Product code" on Thu, 19 Mar 2020 21:11:48 GMT]]></title><description><![CDATA[<p dir="auto">print $node-&gt;productCode;<br />
should work. What version are you using?</p>
]]></description><link>https://forum.netxms.org/post/27603</link><guid isPermaLink="true">https://forum.netxms.org/post/27603</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 19 Mar 2020 21:11:48 GMT</pubDate></item><item><title><![CDATA[Reply to Scripting variable for node "Product code" on Thu, 19 Mar 2020 09:35:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Try $node-&gt;sysDescription</p>
]]></description><link>https://forum.netxms.org/post/27601</link><guid isPermaLink="true">https://forum.netxms.org/post/27601</guid><dc:creator><![CDATA[Egert143]]></dc:creator><pubDate>Thu, 19 Mar 2020 09:35:34 GMT</pubDate></item></channel></rss>