<?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[Using cmdb.condition.read to search for tags]]></title><description><![CDATA[<p dir="auto">I'm currently working on a Powershell module to map i-doit objects to PS objects easier.<br />
It shoudl offer to be able to search for objects containing a tag.</p>
<p dir="auto">How to setup a condition to find an object containing a tag?</p>
<p dir="auto">This one gets 0 results<br />
"conditions": [<br />
{<br />
"comparison": "=",<br />
"property": "C__CATG__GLOBAL-type",<br />
"value": "C__OBJTYPE__SERVER"<br />
},<br />
{<br />
"comparison": "=",<br />
"property": "C__CATG__GLOBAL-tag",<br />
"value": "MyTag"<br />
}<br />
]</p>
<p dir="auto">This one returns all server objects<br />
"conditions": [<br />
{<br />
"comparison": "=",<br />
"property": "C__CATG__GLOBAL-type",<br />
"value": "C__OBJTYPE__SERVER"<br />
},<br />
{<br />
"comparison": "like",<br />
"property": "C__CATG__GLOBAL-tag",<br />
"value": "MyTag"<br />
}<br />
]</p>
<p dir="auto">Any ideas?<br />
Thank you in advance</p>
]]></description><link>https://community.i-doit.com/topic/5337/using-cmdb.condition.read-to-search-for-tags</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 13:25:19 GMT</lastBuildDate><atom:link href="https://community.i-doit.com/topic/5337.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Jun 2025 04:32:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using cmdb.condition.read to search for tags on Mon, 16 Jun 2025 06:02:59 GMT]]></title><description><![CDATA[<p dir="auto">[SOLVED]<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-huhn" aria-label="Profile: Michael-Huhn">@<bdi>Michael-Huhn</bdi></a> this seems to work.</p>
<p dir="auto">However you discovered that, because for me it's not very intuitive to "search =&lt;int&gt;" when it's more like a "search where in &lt;text&gt;".</p>
<p dir="auto">Thanks a lot.</p>
]]></description><link>https://community.i-doit.com/post/18676</link><guid isPermaLink="true">https://community.i-doit.com/post/18676</guid><dc:creator><![CDATA[WolfgangW]]></dc:creator><pubDate>Mon, 16 Jun 2025 06:02:59 GMT</pubDate></item><item><title><![CDATA[Reply to Using cmdb.condition.read to search for tags on Thu, 05 Jun 2025 09:56:11 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://community.i-doit.com/assets/plugins/nodebb-plugin-emoji/emoji/customizations/d8590429-b5a7-4916-84f3-ce8e9365f15e-pepe-hi.gif?v=fcb9e8815b1" class="not-responsive emoji emoji-customizations emoji--pepehi" style="height:23px;width:auto;vertical-align:middle" title=":pepehi:" alt="undefined" /> <a class="plugin-mentions-user plugin-mentions-a" href="/user/wolfgangw" aria-label="Profile: WolfgangW">@<bdi>WolfgangW</bdi></a></p>
<p dir="auto">ich habe mir das mal angesehen und wenn ich die ID des Tags nutze erhalte ich ein Ergebnis.</p>
<pre><code class="language-json">{
    "version": "2.0",
    "method": "cmdb.condition.read",
    "params": {
        "conditions": [
            {
                "property": "C__CATG__GLOBAL-tag",
                "comparison": "=",
                "value": 3
            }
        ],
        "apikey": "ritschipandi",
        "language": "en"
    },
    "id": 1
}</code></pre>
]]></description><link>https://community.i-doit.com/post/18660</link><guid isPermaLink="true">https://community.i-doit.com/post/18660</guid><dc:creator><![CDATA[Michael Huhn]]></dc:creator><pubDate>Thu, 05 Jun 2025 09:56:11 GMT</pubDate></item><item><title><![CDATA[Reply to Using cmdb.condition.read to search for tags on Wed, 04 Jun 2025 08:23:57 GMT]]></title><description><![CDATA[<p dir="auto">@laurawoods<br />
Searching with "%" seems not to work as you expect. I only do get meaningful results using "*".</p>
<p dir="auto">But you are 100% correct: Tags can not be searching using the 'condition'-API request.<br />
Once again it was a pain to find this out (due to your reply) - this should be clearly stated by the documentation (which IMHO is a pain too - at least the one onloine on <a href="https://kb.i-doit.com/">https://kb.i-doit.com/</a> ).</p>
<p dir="auto">As a workaround I will use the old idot.search. This one <em>is</em> able to find tags.<br />
The results must be filtered for the key * &gt; Tags.<br />
But that's much faster as other things I tried.</p>
<p dir="auto">Thanks and have a good day,<br />
Wolfgang</p>
]]></description><link>https://community.i-doit.com/post/18657</link><guid isPermaLink="true">https://community.i-doit.com/post/18657</guid><dc:creator><![CDATA[WolfgangW]]></dc:creator><pubDate>Wed, 04 Jun 2025 08:23:57 GMT</pubDate></item><item><title><![CDATA[Reply to Using cmdb.condition.read to search for tags on Tue, 03 Jun 2025 08:05:45 GMT]]></title><description><![CDATA[<p dir="auto">@laurawoods Greatly appreciate your hint!<br />
My stupid, I used "*" and not thinking, that it gets 1:1 into a SQL Statement.<br />
Thanks a lot!</p>
]]></description><link>https://community.i-doit.com/post/18654</link><guid isPermaLink="true">https://community.i-doit.com/post/18654</guid><dc:creator><![CDATA[WolfgangW]]></dc:creator><pubDate>Tue, 03 Jun 2025 08:05:45 GMT</pubDate></item></channel></rss>