<?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[Assigning Map icons based on templates]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'd like to be able to assign map icons based on a template (e.g. to allow using per-vendor icons for printers, servers, etc.).<br />
Current templates do not seem to support that functionality (at least there is no direct option for that within the template properties).<br />
Any idea how else this could be achieved?</p>
]]></description><link>https://forum.netxms.org/topic/4105/assigning-map-icons-based-on-templates</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:32:32 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4105.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 15 Nov 2015 20:56:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Assigning Map icons based on templates on Fri, 31 Jan 2020 14:05:00 GMT]]></title><description><![CDATA[<pre><code>templates = $node-&gt;templates;
foreach(t : templates)
{
   if (t-&gt;name == "Windows") {
      $node-&gt;setMapImage("Windows");
      break;
   }
}
</code></pre>
]]></description><link>https://forum.netxms.org/post/27319</link><guid isPermaLink="true">https://forum.netxms.org/post/27319</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 31 Jan 2020 14:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to Assigning Map icons based on templates on Wed, 29 Jan 2020 11:12:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/filipp-sudanov" aria-label="Profile: filipp-sudanov">@<bdi>filipp-sudanov</bdi></a> said in <a href="/post/27306">Assigning Map icons based on templates</a>:</p>
<blockquote>
<p dir="auto">You could create Hook::ConfigurationPoll script and change icon for node with NXSL script. It is necessary to specify GUID of image, currently in image library GUIDs are not visible, but will be visible starting from version 3.2 that should be out soon.</p>
</blockquote>
<p dir="auto">Hi Filipp, I'm trying to to exactly what you wrote.. can you link some documentation or (better) one example?<br />
thanks</p>
<p dir="auto">Alessandro</p>
]]></description><link>https://forum.netxms.org/post/27308</link><guid isPermaLink="true">https://forum.netxms.org/post/27308</guid><dc:creator><![CDATA[AleCoelli]]></dc:creator><pubDate>Wed, 29 Jan 2020 11:12:20 GMT</pubDate></item><item><title><![CDATA[Reply to Assigning Map icons based on templates on Wed, 29 Jan 2020 11:02:56 GMT]]></title><description><![CDATA[<p dir="auto">You could create Hook::ConfigurationPoll script and change icon for node with NXSL script. It is necessary to specify GUID of image, currently in image library GUIDs are not visible, but will be visible starting from version 3.2 that should be out soon.</p>
]]></description><link>https://forum.netxms.org/post/27306</link><guid isPermaLink="true">https://forum.netxms.org/post/27306</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 29 Jan 2020 11:02:56 GMT</pubDate></item><item><title><![CDATA[Reply to Assigning Map icons based on templates on Tue, 28 Jan 2020 08:21:27 GMT]]></title><description><![CDATA[<p dir="auto">+1</p>
]]></description><link>https://forum.netxms.org/post/27305</link><guid isPermaLink="true">https://forum.netxms.org/post/27305</guid><dc:creator><![CDATA[AleCoelli]]></dc:creator><pubDate>Tue, 28 Jan 2020 08:21:27 GMT</pubDate></item></channel></rss>