<?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>Saved Search</title><link>https://www.aras.com/community/f/getting-started/3962/saved-search</link><description>I have the following criteria specified for a Saved Search. Unfortunately it returns/displays all default Document columns (50+). Was hoping it would just return and display the columns specified in the Saved Search criteria. Am I doing it wrong?

&amp;lt;Item</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2452?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 14:55:42 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:85b318c3-10e1-4f4a-bc01-bcd2c4e00d1c</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;&lt;span&gt;I can confirm that the onGet Method will also work for relationships. But I would recommed the version I posted above. But of course I would be&amp;nbsp;happy to hear about experiences from others. In our environment the original version used in a Part relationship produced some problems in MPP. It wasn&amp;acute;t possible to drag&amp;#39;n&amp;#39;drop Parts in the Process Plan anymore, as the MPP somehow tried to read the federated content, but failed.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2450?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 14:52:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c21b1874-436c-441b-8be0-7d5f9bdfa926</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Ah ok! Of course for a view-only use case you don&amp;acute;t need to take care for the UI elements.&lt;/p&gt;
&lt;p&gt;Your colleague I met was the same that presented the original onGet idea. So I was happy that he liked the CUI concept.&lt;/p&gt;
&lt;p&gt;Some remarks: I currently use the following version of the above code, as the original version can produce a few strange side effects in certain scenarios&lt;/p&gt;
&lt;p&gt;this.setAttribute(&amp;quot;type&amp;quot;, &amp;quot;Document&amp;quot;);&lt;br /&gt;Item res = this.apply(&amp;quot;get&amp;quot;);&lt;br /&gt;if(res.isError())&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; return this;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;return res;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2429?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 16:28:10 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:76900a41-ac4c-4f4f-8447-297742f7f40d</guid><dc:creator>Christopher Gillis</dc:creator><description>&lt;p&gt;Hi Angela,&lt;/p&gt;
&lt;p&gt;The project I mentioned in this comment had very simple requirements. In my case, all I needed was to have a view-only way of seeing the different classifications, so I did not need to worry about making sure the&amp;nbsp;&lt;strong&gt;New&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;Edit&lt;/strong&gt;, or&lt;strong&gt; Delete&lt;/strong&gt; buttons pointed to the actual ItemType.&lt;/p&gt;
&lt;p&gt;Do you happen to remember who you spoke with? I can check in with them to see if they made any updates or improvements to your concept of using custom CUI buttons in these kinds of views.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2428?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 15:51:42 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a39ca6df-c46a-4b2a-95c9-ff48cc0a7306</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;interesting that also Aras worked on the &amp;quot;onGet&amp;quot; ItemType use case. It sounds identical to the use case discussed in this thread:&lt;/p&gt;
&lt;p&gt;&lt;a href="/f/development/3496/how-to-create-a-new-part-toc-menu-item-that-does-a-custom-search"&gt;https://community.aras.com/f/development/3496/how-to-create-a-new-part-toc-menu-item-that-does-a-custom-search&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How does Aras solved the CUI button problem? I met one Aras employee who used my fabulous CUI button concept for a customer solution, but I do not know what he has&amp;nbsp;changed or improved. What kind of concept did you use in your project? Something similar or were you able to find a better approach?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2139?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 10:36:46 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ef746874-8a8d-402f-8774-a2df8a546367</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

The onGet event should trigger any time that the ItemType is queried for. You can try setting an &lt;strong&gt;onGet&lt;/strong&gt; event on the relationship ItemType itself to redirect the query to the ItemType you want. Following this approach, you may end up with multiple relationships each for a different department. You can use this &lt;a href="https://github.com/ArasLabs/hide-tabs-by-identity"&gt;Community Project&lt;/a&gt; to only display the relationship tab that corresponds to the current user&amp;#39;s Identity.

Chris

&lt;hr /&gt;

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2138?ContentTypeID=1</link><pubDate>Fri, 26 Oct 2018 17:38:47 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:24180d71-1714-49e1-bca8-44572f061da7</guid><dc:creator>Former Member</dc:creator><description>Can this method be tweaked to work in relationship grids as well? Tried but onGet event may not be firing...

Trying to find work arounds NOT to have the same columns displayed for every department and document category.

Every department and doc category wants (rightly so) only columns relevant to them, in appropriate order (like SharePoint views).&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2137?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2018 12:34:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8b8dd1d0-181a-4ef9-aeab-04ad55fa1c19</guid><dc:creator>Former Member</dc:creator><description>Works perfect, thank you&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2136?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 16:54:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:398f84ad-2600-4616-90a1-32c71e547bf7</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

Server Methods need to be written in either CSharp or VB. The short sample I provided was written in CSharp.

Chris&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2135?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 16:43:47 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3f290dd5-bb66-4093-84aa-fe92e85c5852</guid><dc:creator>Former Member</dc:creator><description>The method type (JavaScript) specified for Doc_Manuals_Event is not currently supported.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2134?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 15:48:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a971eed7-e5e4-4296-8d01-93f3a0293a20</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

I&amp;#39;ve worked on a project with a similar use case before, and the solution we came up with may work for you as well. We wanted each classification of an ItemType to have it&amp;#39;s own view in the main search grid. What we did was create a new ItemType that corresponded with each classification. We added properties to this new ItemType that matched the property names of the original. We then created an &lt;strong&gt;onGet&lt;/strong&gt; Server Event on this new ItemType with code like the sample below.

&lt;pre&gt;&lt;code&gt;this.setAttribute(&amp;quot;type&amp;quot;, &amp;quot;Document&amp;quot;);
// You can modify the query here if you want to limit the items returned
// e.g. this.setProperty(&amp;quot;classification&amp;quot;, &amp;quot;Drawing&amp;quot;);
return this.apply();&lt;/code&gt;&lt;/pre&gt;


Using an &lt;strong&gt;onGet&lt;/strong&gt; event like this allowed us to override the query that gets the items and instead tell the query to return Document ItemTypes. You can then customize the properties displayed on the grid by setting the &lt;strong&gt;Hidden&lt;/strong&gt; flag on your properties on the new ItemType.

Chris

&lt;hr /&gt;

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2133?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 15:09:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8bfa0564-513a-4c32-9b64-29ba032ba7ad</guid><dc:creator>Former Member</dc:creator><description>I would recommend identifying this as a future opportunity for improvement. Its ridiculous to use ARAS to centralize documents in one place, but then only have one grid view available across the board for all types. Right now we show all 50 attribute columns because appropriate views aren&amp;#39;t configurable.

Individual settings are nice, but (various) predefined views need to be configured (different attributes based on doc type) by admins and made available to users. Saved search seems to be the appropriate fit as it can be listed in the TOC for all.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Saved Search</title><link>https://www.aras.com/community/thread/2132?ContentTypeID=1</link><pubDate>Wed, 10 Oct 2018 11:04:18 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ea01ad39-446b-405c-8899-15831b249f91</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

The columns displayed in an Item&amp;#39;s grid are linked to an individual user&amp;#39;s Preferences. By default, the same columns will be displayed independently of the Saved Search that you have selected.

Chris

&lt;hr /&gt;

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>