<?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[Link Style Script]]></title><description><![CDATA[<p dir="auto">Are there any examples of link style scripts ?   Im not sure  If this would be the right place to do this but I would like to highlight/color  a interface/ link based on if the STP status is in a blocking state.  I would like to highlight the interface and change the color of the link to signify that a layer2 loop is broken here in the Ring</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netxms.org/topic/8108/link-style-script</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 06:30:24 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8108.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Feb 2025 15:43:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Link Style Script on Fri, 07 Mar 2025 14:56:40 GMT]]></title><description><![CDATA[<p dir="auto">Perfect !! Thank you for the info</p>
]]></description><link>https://forum.netxms.org/post/34182</link><guid isPermaLink="true">https://forum.netxms.org/post/34182</guid><dc:creator><![CDATA[gmonk63]]></dc:creator><pubDate>Fri, 07 Mar 2025 14:56:40 GMT</pubDate></item><item><title><![CDATA[Reply to Link Style Script on Mon, 17 Feb 2025 14:17:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Yes you can use link styling script. <br />
Here you can see example that I use for automatic integration tests: <a href="https://github.com/netxms/netxms/blob/master/tests/integration/src/test/resources/networkMapStylingScript.nxsl" rel="nofollow ugc">https://github.com/netxms/netxms/blob/master/tests/integration/src/test/resources/networkMapStylingScript.nxsl</a><br />
Basically you should get STP status form $link.object1 nad $link.object2 (It will be NetObjects or Nodes connected by the link <a href="https://netxms.org/documentation/nxsl-latest/#class-node" rel="nofollow ugc">https://netxms.org/documentation/nxsl-latest/#class-node</a> )<br />
and set color with help of:<br />
$link.setColorConfig(MapLinkColorSource::CustomColor, "#FF00FF");</p>
]]></description><link>https://forum.netxms.org/post/34147</link><guid isPermaLink="true">https://forum.netxms.org/post/34147</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Mon, 17 Feb 2025 14:17:08 GMT</pubDate></item></channel></rss>