<?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>Instruction: Hiding the Open in Office Button</title><link>https://www.aras.com/community/f/development/37581/instruction-hiding-the-open-in-office-button</link><description>Hello everyone, 
 Here is a short instruction on how to hide the Open in Office (Microsoft Office Connector) Button when viewing document items. This can be done without uninstalling / disabling MSO in case you want to prevent users from using the Toolbar</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Instruction: Hiding the Open in Office Button</title><link>https://www.aras.com/community/thread/8716?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2022 09:58:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1d0438d2-90e9-458c-a3d3-6cefe8814d4e</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;The post is not redundant at all!&amp;nbsp;&lt;span style="font-family:inherit;"&gt;It shows that you can address a task in many ways.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I have changed some of the stylings&amp;nbsp;in common.css by myself (e.g. images styling cause my version&amp;nbsp;use wrong ratios). It&amp;acute;s an important file to know!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am happy about the post cause I also learned something new. I didn&amp;acute;t know the variable.&lt;/p&gt;
&lt;p&gt;I was surprised that the Office button was in CommandBarSection &amp;quot;&lt;span&gt;itemview.itemcommandbar.default&amp;quot; and not in the one related to the Document. Cause this CommandBarSection is used on global level so we would have seen the Office button everywhere. That did not make any sense. So there has to be a filter somewhere. The used init Method linked to a Variable&amp;nbsp;-&amp;gt; Voil&amp;agrave;!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt; I have a custom document type and rebuild the &amp;quot;Export to Office&amp;quot; button by myself. Would not have been necessary at all, cause the Variable works with a comma separates string (Document,MyDocument,...).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Instruction: Hiding the Open in Office Button</title><link>https://www.aras.com/community/thread/8714?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2022 08:59:45 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:eb9426f3-7412-4b6a-a6d3-eb3217aa4fd9</guid><dc:creator>Daan Theoden</dc:creator><description>&lt;p&gt;Hi Angela,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have been looking for such a method for quite a while but could not figure it out.&lt;/p&gt;
&lt;p&gt;Thank you&amp;nbsp;very much. This indeed makes my post redundant &lt;span class="emoticon" data-url="https://www.aras.com/community/cfs-file/__key/system/emoji/1f605.svg" title="Sweat smile"&gt;&amp;#x1f605;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Instruction: Hiding the Open in Office Button</title><link>https://www.aras.com/community/thread/8711?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 15:31:58 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d4869cde-d540-41c1-a8b1-22c84456d1f8</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi Daan,&lt;/p&gt;
&lt;p&gt;isn&amp;acute;t this one a overkill solution?&amp;nbsp;&lt;span class="emoticon" data-url="https://www.aras.com/community/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;There is of course nothing wrong with this one. But regarding updates it&amp;acute;s always a benefit to avoid codetree modifications, cause the update team often forgets them when you don&amp;acute;t tell them.&lt;/p&gt;
&lt;p&gt;Why not edit the CUI element? This way you could make the button visible to just a couple of users, like &amp;quot;admins&amp;quot;.&lt;/p&gt;
&lt;p&gt;You can remove/change identity for&amp;nbsp;MSO_OpenInOfficeMenuButton in CommandBarSection itemview.itemcommandbar.default&lt;/p&gt;
&lt;p&gt;Or even easier, cause it was obvious as soon as I saw the CUI element. Just removing &amp;quot;Document&amp;quot; from Variable &amp;quot;MSO_OpenInOffice&amp;quot; should do the job the same way.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>