<?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[Automatic bind on zoneID]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Can anyone help the for the syntax of a filter script<br />
I want to filter all nodes with the same zoneID in one container.</p>
<p dir="auto">sub main()<br />
{<br />
    if ($node-&gt;zoneID == 106)<br />
    {<br />
        return 1;<br />
    }<br />
}<br />
 <br />
Regards<br />
Denis</p>
]]></description><link>https://forum.netxms.org/topic/3764/automatic-bind-on-zoneid</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:25:03 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3764.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 08 May 2015 10:43:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Automatic bind on zoneID on Wed, 13 May 2015 13:32:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d-ray" aria-label="Profile: d-ray">@<bdi>d-ray</bdi></a> said in <a href="/post/16837">Automatic bind on zoneID</a>:</p>
<blockquote>
<p dir="auto">is it possible to use the zonename in text?</p>
</blockquote>
<p dir="auto">Have you tried using FindObject()?<br />
That way you can search it by the name in text.</p>
<p dir="auto"><a href="https://wiki.netxms.org/wiki/NXSL:FindObject" rel="nofollow ugc">https://wiki.netxms.org/wiki/NXSL:FindObject</a></p>
]]></description><link>https://forum.netxms.org/post/16858</link><guid isPermaLink="true">https://forum.netxms.org/post/16858</guid><dc:creator><![CDATA[jhuliagraziella]]></dc:creator><pubDate>Wed, 13 May 2015 13:32:07 GMT</pubDate></item><item><title><![CDATA[Reply to Automatic bind on zoneID on Tue, 12 May 2015 09:06:57 GMT]]></title><description><![CDATA[<p dir="auto">is it possible to use the zonename in text?</p>
]]></description><link>https://forum.netxms.org/post/16837</link><guid isPermaLink="true">https://forum.netxms.org/post/16837</guid><dc:creator><![CDATA[d-ray]]></dc:creator><pubDate>Tue, 12 May 2015 09:06:57 GMT</pubDate></item><item><title><![CDATA[Reply to Automatic bind on zoneID on Mon, 11 May 2015 06:57:37 GMT]]></title><description><![CDATA[<p dir="auto">It also could be simplified to</p>
<pre><code>return $node-&gt;zoneId == 106;
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/16821</link><guid isPermaLink="true">https://forum.netxms.org/post/16821</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 11 May 2015 06:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to Automatic bind on zoneID on Sat, 09 May 2015 11:05:26 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the help</p>
]]></description><link>https://forum.netxms.org/post/16816</link><guid isPermaLink="true">https://forum.netxms.org/post/16816</guid><dc:creator><![CDATA[d-ray]]></dc:creator><pubDate>Sat, 09 May 2015 11:05:26 GMT</pubDate></item><item><title><![CDATA[Reply to Automatic bind on zoneID on Fri, 08 May 2015 19:07:52 GMT]]></title><description><![CDATA[<p dir="auto">I hope this could help! <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
<p dir="auto">sub main()<br />
{<br />
   if (($node)-&gt;zoneId == 106)<br />
   {<br />
      return 1;<br />
   }<br />
   return 0;<br />
}</p>
<p dir="auto">Regards,</p>
<p dir="auto">Jhúlia Graziella</p>
]]></description><link>https://forum.netxms.org/post/16813</link><guid isPermaLink="true">https://forum.netxms.org/post/16813</guid><dc:creator><![CDATA[jhuliagraziella]]></dc:creator><pubDate>Fri, 08 May 2015 19:07:52 GMT</pubDate></item></channel></rss>