<?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[Accessing Custom Attributes in condotion-Objects]]></title><description><![CDATA[<p dir="auto">Is there a possibility accessing custom attributes within the script of a condition Attribute?</p>
<p dir="auto">Best regards</p>
<p dir="auto">Georg</p>
]]></description><link>https://forum.netxms.org/topic/4633/accessing-custom-attributes-in-condotion-objects</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 15:40:12 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4633.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Aug 2016 10:41:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Accessing Custom Attributes in condotion-Objects on Tue, 09 Aug 2016 11:48:39 GMT]]></title><description><![CDATA[<p dir="auto">If you have a $node object available (which should be in EPP Condition scripts), you have multiple options:</p>
<p dir="auto">Get a single known attribute:<br />
<a href="https://wiki.netxms.org/wiki/NXSL:GetCustomAttribute" rel="nofollow ugc">https://wiki.netxms.org/wiki/NXSL:GetCustomAttribute</a></p>
<p dir="auto">Get all custom attributes of a node:</p>
<pre><code>attributes = $node-&gt;customAttributes;
foreach(attrib : attributes-&gt;keys) {
  // name
  println(attrib);

  // value
  println(attributes[attrib])
}
</code></pre>
]]></description><link>https://forum.netxms.org/post/20584</link><guid isPermaLink="true">https://forum.netxms.org/post/20584</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Tue, 09 Aug 2016 11:48:39 GMT</pubDate></item></channel></rss>