Hide Shared Files menu option Enterprise 4.2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2014 10:10 AM
As described in https://issues.alfresco.com/jira/browse/ALF-19930 I tried option 3 of using the javascript function in share-header.get.js file however I am seeing error that Object.prototype.toString().apply is not a function.
Could some one please let me know how to hide Shared Files option from Alfresco share. I am using Alfresco Enterprise 4.2
Thank you.
Could some one please let me know how to hide Shared Files option from Alfresco share. I am using Alfresco Enterprise 4.2
Thank you.
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2014 02:30 PM
Hi,
In the issue there is a comment which indicate the following:
<cite>
Axel Faust added a comment - 29-Jan-14 12:48 PM
Note to anyone trying out the code snippet in the description: There is an error that I cannot edit / correct. The parts that read "Object.prototype.toString().apply(obj)" should actually read "Object.prototype.toString.apply(obj)"
</cite>
Based on the above mentioned, the error is not displayed and you can access to the application, the menu items will be not displayed.
In case if you need only to hide the "Shared Files" item, so, you only leave this value ("HEADER_SHARED_FILES") in the array.
In the issue there is a comment which indicate the following:
<cite>
Axel Faust added a comment - 29-Jan-14 12:48 PM
Note to anyone trying out the code snippet in the description: There is an error that I cannot edit / correct. The parts that read "Object.prototype.toString().apply(obj)" should actually read "Object.prototype.toString.apply(obj)"
</cite>
Based on the above mentioned, the error is not displayed and you can access to the application, the menu items will be not displayed.
In case if you need only to hide the "Shared Files" item, so, you only leave this value ("HEADER_SHARED_FILES") in the array.
