<?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>AML search in TOC with variables</title><link>https://www.aras.com/community/f/development/38032/aml-search-in-toc-with-variables</link><description>Hi, I&amp;#39;m trying to make AML queries with variables, like the ones in the photo. The only thing that I do not find is the key to put a personalized &amp;quot;label&amp;quot; for each field. It&amp;#39;s possible? 
 
 
 
 As almost always, ARAs fails with the size of the dialog box</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: AML search in TOC with variables</title><link>https://www.aras.com/community/thread/9579?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2023 14:20:05 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d8f98497-1f98-48f9-8316-725423c46350</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;That&amp;acute;s why I love this forum! Nobody know everything, but everybody knows a bit and all you have to do is collect. :)&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did some quick codetree investigation and I guess this one is responsible:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;..\Client\javascript\SearchParameterizedHelper.js&lt;/p&gt;
&lt;p&gt;See references to a &amp;quot;fakeForm&amp;quot;. This is used to call the dialog. There is further code that inserts the buttons.&lt;/p&gt;
&lt;p&gt;If you really want to modify this codetree file, ensure to document the change. Keep the golden rule in mind: Never change the code tree unless really really necessary.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AML search in TOC with variables</title><link>https://www.aras.com/community/thread/9578?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2023 14:12:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:23312742-f36e-4805-b217-49e918f3632a</guid><dc:creator>FernandoCG</dc:creator><description>&lt;p&gt;Wow, I&amp;#39;m so glad I was able to teach you something you didn&amp;#39;t know.&lt;/p&gt;
&lt;p&gt;Yes, the label is taken from there, but the &amp;quot;ugly&amp;quot; thing is that if I do a search between a date, start and end range, in the 2 fields it will give me the same label for the form, as in the photo that I used above . But hey, as long as the user who is going to use it knows it...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AML search in TOC with variables</title><link>https://www.aras.com/community/thread/9577?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2023 14:00:49 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:dff04e03-b397-420a-bf7a-e44377c86219</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;I am shocked! I didn&amp;acute;t know that this kind of feature exists at all.&lt;span class="emoticon" data-url="https://www.aras.com/community/cfs-file/__key/system/emoji/1f600.svg" title="Grinning"&gt;&amp;#x1f600;&lt;/span&gt;&amp;nbsp;The additional window seems to be triggernd when using date or other &amp;quot;hard to use&amp;quot; properties:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/community/resized-image/__size/640x480/__key/communityserver-discussions-components-files/3/pastedimage1689170520753v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The used label is definitely taken from the ItemType definition. When you assign a proper label in the ItemType, it will appear in the Form. If label is missing, it will just use Parameter 0/1/2.&lt;/p&gt;
&lt;p&gt;During my quick test I wasn&amp;acute;t able to determine, where the Form itself is specified. Maybe the AML search mode contains the answer. But the windows is triggernd when clicking &amp;quot;Search&amp;quot;, so it&amp;acute;s probably more related to the general search function. But I am just guessing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AML search in TOC with variables</title><link>https://www.aras.com/community/thread/9574?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2023 07:55:52 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ef226654-aa8f-49a6-bb3c-45450410ecae</guid><dc:creator>FernandoCG</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As far as I know, we haven&amp;#39;t done anything special to make that type of search work. I don&amp;#39;t know if the previous developer made a patch to make it work. But when I arrived there weren&amp;#39;t many changes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To test: I have the option &amp;quot;&amp;quot;busqueda AMl&amp;quot;, i think in your system &amp;quot;AML Search&amp;quot; (Spanish translation), this is my options:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/community/resized-image/__size/640x480/__key/communityserver-discussions-components-files/3/pastedimage1689159820111v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a simple AML search, but in the search fields you put the code: @{0}&lt;/p&gt;
&lt;p&gt;&amp;lt;mp_entry_date condition=&amp;quot;ge&amp;quot;&amp;gt;@{0}&amp;lt;/mp_entry_date&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/community/resized-image/__size/640x480/__key/communityserver-discussions-components-files/3/pastedimage1689147579608v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see this search method quite well, especially for date ranges for &amp;quot;clumsy&amp;quot; users, who do not know how to delete dates, edit them, etc.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You know, for the average user, it&amp;#39;s easier for them to have a form appear and fill in the data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AML search in TOC with variables</title><link>https://www.aras.com/community/thread/9573?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2023 13:50:19 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ecb76534-0409-4b4d-952e-6047e4e6320b</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;that doesn&amp;acute;t look like the regular Aras AML search. These kind of {} placeholders are not intended to be used in the standard AML search. Is this a custom search mode used in your company?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To test this out: When you select a different search mode, do you have &amp;quot;AML&amp;quot; in addition to your &amp;quot;Busqueda AML&amp;quot; search mode?&lt;/p&gt;
&lt;p&gt;Are you looking for custom label in the Form? I guess that your solution fetches the labels from the ItemType definition. If you don&amp;acute;t have assigned a custom label, it will maybe create you the &amp;quot;parameter 2&amp;quot; placeholder. But I am just guessing. If this one is a custom search mode, you should have somewhere a custom Form with specifies the fields and Form size.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>