<?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>Adding additional AML parameters to the quick search?</title><link>https://www.aras.com/community/f/development/55409/adding-additional-aml-parameters-to-the-quick-search</link><description>Hello, 
 Is there a blog anywhere on finding a way to edit the default AML sent with quick search? 
 For instance, when typing in, I want the records retrieved to be of a certain WHERE condition all the time. 
 Best Regards, 
 Frank</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Adding additional AML parameters to the quick search?</title><link>https://www.aras.com/community/thread/10877?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 07:04:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:2e5810e8-0fe7-47e0-9662-237920c255a4</guid><dc:creator>bubblyeducate</dc:creator><description>&lt;p&gt;You can use the &amp;quot;Default Search&amp;quot; column from the ItemType property relationship. For example, you can apply a filter to the state property, and the grid will only display objects that have this state. I use this for ECOs so that people only see things that haven&amp;#39;t been completed yet. Pro: The user may view the filter and delete it as needed.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding additional AML parameters to the quick search?</title><link>https://www.aras.com/community/thread/10844?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 08:52:20 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:4d22430e-94fb-44d7-bf4f-ec3654cdc06a</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Overwriting the default AML on general level sounds like a bit of an overkill for your use case.&lt;/p&gt;
&lt;p&gt;1. You can use the &amp;quot;Default Search&amp;quot; column in the ItemType property relationship. E.g. you can add a filter to the state property and by default the grid will only display items with this state. I use this for ECOs so people only see stuff that isn&amp;acute;t completed yet. Pro: User can see the filter and remove it when needed.&lt;/p&gt;
&lt;p&gt;2. onBeforeGet Method can overwrite&amp;nbsp;AML query. I do something similar with the select query:&amp;nbsp;&amp;nbsp;&lt;a href="https://www.aras.com/community/f/development/6514/how-to-color-grid-cells-according-to-properties-that-are-hidden-in-grid"&gt;How to color grid cells according to properties that are hidden in grid?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Look at the &amp;quot;select&amp;quot; sample code below the green Chris answer. Should work for &amp;quot;where&amp;quot; the same way. I use it since years.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>