<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to find the items in ARAS vault using substring</title><link>https://www.aras.com/community/f/development/5878/how-to-find-the-items-in-aras-vault-using-substring</link><description>Hi , 
 
 I have few items in ARAS vault like below... 
 Part1, Part2,Part3,Part_Nut, Part_Bolt..etc 
 I want to get all these items from ARAS vault using C# and also find these items with sub string like &amp;quot;Part*&amp;quot;. 
 Could you please help/support me to</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to find the items in ARAS vault using substring</title><link>https://www.aras.com/community/thread/2692?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 14:26:38 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:2186c924-019a-47bc-a12c-d0653a89d6f1</guid><dc:creator>Christopher Gillis</dc:creator><description>&lt;p&gt;Hi Pase,&lt;/p&gt;
&lt;p&gt;Since the IOM API available from C# methods really just builds AML behind the scenes, I find it&amp;#39;s easier to start with writing the AML directly.&lt;/p&gt;
&lt;p&gt;In this case, there&amp;#39;s two possible approaches you could take. You could try using a&amp;nbsp;&lt;strong&gt;where&lt;/strong&gt; clause like the example below.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;lt;AML&amp;gt;&lt;br /&gt; &amp;lt;Item type=&amp;quot;Part&amp;quot; action=&amp;quot;get&amp;quot; &lt;strong&gt;where=&amp;quot;[Part].item_number like &amp;#39;Part%&amp;#39;&amp;quot;&lt;/strong&gt; /&amp;gt;&lt;br /&gt;&amp;lt;/AML&amp;gt;&lt;/p&gt;
&lt;p&gt;Alternatively, you could try using a&amp;nbsp;&lt;strong&gt;condition&lt;/strong&gt; on the property itself. This approach will allow you to change the query more easily if you want to filter on additional properties later on.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;lt;AML&amp;gt;&lt;br /&gt; &amp;lt;Item type=&amp;quot;Part&amp;quot; action=&amp;quot;get&amp;quot;&amp;gt;&lt;br /&gt; &amp;lt;item_number &lt;strong&gt;condition=&amp;quot;like&amp;quot;&lt;/strong&gt;&amp;gt;Part%&amp;lt;/item_number&amp;gt;&lt;br /&gt; &amp;lt;/Item&amp;gt;&lt;br /&gt;&amp;lt;/AML&amp;gt;&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;
&lt;p&gt;Christopher Gillis&lt;/p&gt;
&lt;p&gt;Aras Labs Software Engineer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>