<?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>Firing action from tree grid views</title><link>https://www.aras.com/community/f/development/3926/firing-action-from-tree-grid-views</link><description>So the Office Connector now is up and running and I&amp;#39;ve modified the code for the Open in Office action to also function from relationship items. Some time ago I also implemented a tree grid view that allows the user to navigate to documents through a</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Firing action from tree grid views</title><link>https://www.aras.com/community/thread/2036?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 02:07:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d24c7c35-db8e-414a-a78b-0d1a5213e5f2</guid><dc:creator>remco.van.oosterhout</dc:creator><description>Luckily we&amp;#39;re on 11.0 SP12, adding one action to all TGVs wouldn&amp;#39;t be ideal since not all TGVs&amp;#39;ll necessarily show document items in any way or form.

I&amp;#39;ll let you know how it turns out!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firing action from tree grid views</title><link>https://www.aras.com/community/thread/2035?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 09:46:52 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:bd63572a-bb00-4a4e-be68-fbda0ceedbca</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

The easiest way to add this action would be to edit the CUI element that controls the existing context menu of the Tree Grid View. You can do this by exposing the &lt;strong&gt;CommandBarSection&lt;/strong&gt; ItemType to the TOC and searching for a Location of &lt;strong&gt;TGV Context Menu&lt;/strong&gt;. In a default environment, you should only get one result from this search. From here you can add a new Menu to the context menu for all TGVs. When you open this new menu, you can set the JavaScript Method that should run when the user clicks on it. You can use the existing MSO_OpenInOffice method as a basis for creating this custom method to run from the TGV.

If you are using 11.0 SP12+, you can also create your own custom &lt;strong&gt;CommandBarSection&lt;/strong&gt; to avoid needing to add this new menu option globally to all TGVs. You can configure this option through the &lt;strong&gt;Linked Toolbar/Context Menu&lt;/strong&gt; field on the Tree Grid View form.

You can look &lt;a href="http://community.aras.com/en/creating-custom-refresh-button-using-cui/"&gt;here&lt;/a&gt; for an introduction to modifying and creating your own CUI elements.

Chris

&lt;hr /&gt;

Christopher Gillis

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