<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to hide menu items from alfresco share, such as My Files, Shared Files, etc in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39356#M16530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/5.1/tasks/dev-extensions-share-tutorials-custom-header-menu-item-removal.html" title="http://docs.alfresco.com/5.1/tasks/dev-extensions-share-tutorials-custom-header-menu-item-removal.html" rel="nofollow noopener noreferrer"&gt;Removing a menu item (Aikau) | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2017 17:27:09 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2017-06-15T17:27:09Z</dc:date>
    <item>
      <title>How to hide menu items from alfresco share, such as My Files, Shared Files, etc</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39355#M16529</link>
      <description>Hi, i am the first step in Alfresco and i would like to known how i can hide links My Files, Sharing files, Sites, My Tasks from UI of alfresco share. Thanks</description>
      <pubDate>Mon, 12 Jun 2017 09:21:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39355#M16529</guid>
      <dc:creator>dpmar</dc:creator>
      <dc:date>2017-06-12T09:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide menu items from alfresco share, such as My Files, Shared Files, etc</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39356#M16530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/5.1/tasks/dev-extensions-share-tutorials-custom-header-menu-item-removal.html" title="http://docs.alfresco.com/5.1/tasks/dev-extensions-share-tutorials-custom-header-menu-item-removal.html" rel="nofollow noopener noreferrer"&gt;Removing a menu item (Aikau) | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 17:27:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39356#M16530</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2017-06-15T17:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide menu items from alfresco share, such as My Files, Shared Files, etc</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39357#M16531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Thanks for answering my question, I had come across this article but I did not consider it because I found it complicated, you know the first weapons, create an AIO project, add a share extension called customize-share-header&lt;/SPAN&gt; &lt;SPAN&gt;Menu, create a new Share AMP module as part of your AIO project, ect., I lost, I thought there was a simpler way to solve the problem but at this point I think the only way to go is to&lt;/SPAN&gt; &lt;SPAN&gt;You advised me.&lt;/SPAN&gt; &lt;SPAN&gt;Thank you so much, I will read the article that you have reported me more carefully.&lt;/SPAN&gt; &lt;SPAN&gt;Hello Marco&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="display: none; -ms-user-select: none;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:10:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39357#M16531</guid>
      <dc:creator>dpmar</dc:creator>
      <dc:date>2017-06-26T13:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide menu items from alfresco share, such as My Files, Shared Files, etc</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39358#M16532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is code for removing shared file menu from MenuBar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_SHARED_FILES");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to extend Share Header. and add above code in the file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 10:56:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39358#M16532</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2017-10-10T10:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide menu items from alfresco share, such as My Files, Shared Files, etc</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39359#M16533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;You can hide menu items like "my files" , "shared files", "site finder" from alfresco share with the help of Aikau.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;There is 2 different technique to do so which are &lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 15px;"&gt;By using helper function &lt;SAMP class=""&gt;widgetUtils.deleteObjectFromArray&lt;/SAMP&gt; .&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 15px;"&gt;Configuration exposed by the &lt;SAMP class=""&gt;alfresco/header/AlfSitesMenu&lt;/SAMP&gt; widget.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Let's do it with the help of first one: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;First method (By using helper function &lt;SAMP class=""&gt;widgetUtils.deleteObjectFromArray&lt;/SAMP&gt;) takes three parameter .&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 15px;"&gt;The object to remove the widget definition from (you can typically just use &lt;SAMP class=""&gt;model.jsonModel&lt;/SAMP&gt;).&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 15px;"&gt;The attribute to search for (in our case it is &lt;SAMP class=""&gt;id&lt;/SAMP&gt;).&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 15px;"&gt;The &lt;SAMP class=""&gt;id&lt;/SAMP&gt; attribute of the widget definition to remove.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;So suppose we want to remove "&lt;SPAN class=""&gt;&lt;STRONG&gt;My Files&lt;/STRONG&gt;"&lt;/SPAN&gt; link from the menu bar you would include the following code in the file &lt;SPAN class=""&gt;share-header.get.js&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"widgetUtils.deleteObjectFromArrary(model.jsonModel, "id", "HEADER_MY_FILES");"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now save the file and restart the application server by entering run.sh command.&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;Log in to Share, you will see that the My Files menu item is no longer present on the main menu.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;Another example, Suppose we want to hide the "&lt;SPAN class=""&gt;&lt;STRONG&gt;Site Finder&lt;/STRONG&gt;"&lt;/SPAN&gt;, so you would include the following code in &lt;SPAN class=""&gt;share-header.get.js&lt;/SPAN&gt; file &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;// find the "Sites" menu...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;var sitesMenu =&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;"widgetUtils.findObject(model.jsonModel, "id", "HEADER_MY_FILES");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;if (sitesMenu !=null)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;//Hide the Site finder...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;sitesMenu config showSiteFinder =false:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;Now save the file and restart the application server by entering run.sh command to update your surf extension module.&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;Thanks !&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;aikau‌ share page‌&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;@macro dp &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 12:51:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39359#M16533</guid>
      <dc:creator>amitkulhari26</dc:creator>
      <dc:date>2017-12-11T12:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide menu items from alfresco share, such as My Files, Shared Files, etc</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39360#M16534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never ever, ever, ever change files in the alfresco.war, share.war, or the exploded alfresco webapp or share webapp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 20:58:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39360#M16534</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2017-12-21T20:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide menu items from alfresco share, such as My Files, Shared Files, etc</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39361#M16535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I jeff,I'm right with you, it's not a good pratice but ... it works ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to follow the Alfresco tuto (6.1) but ever something wrong ...&lt;/P&gt;&lt;P&gt;Exemple, I deploied the environment with docker and apply the first tuto (sub-menu on admin menu), and it's ok with all-in-one but I don't understand how deplied it in prod envinoment (that's not a docker environment).&lt;/P&gt;&lt;P&gt;I try to put the all-in-one-share...jar in the shared tomcat folder but nothing appened when a restart tomcat, no error in catalina.out&amp;nbsp;!!&lt;/P&gt;&lt;P&gt;Someone can help me ? another tuto perhaps with less theory &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2019 10:34:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-hide-menu-items-from-alfresco-share-such-as-my-files/m-p/39361#M16535</guid>
      <dc:creator>frcm</dc:creator>
      <dc:date>2019-08-31T10:34:04Z</dc:date>
    </item>
  </channel>
</rss>

