AnsweredAssumed Answered

CopyMoveTo hide some 'Destination' list

Question asked by nikes on Aug 10, 2015
Latest reply on Aug 12, 2015 by nikes
Hello,

I want to hide "Shared Files" option from Destination list in CopyMoveTo popup box. in Alfresco 4.2.4

I tried commenting "DLGF.VIEW_MODE_SHARED," in tomcat/webapps/share/modules/documentlibrary/copy-move-to.js


this.options = YAHOO.lang.merge(this.options,
      {
         allowedViewModes:
         [
            DLGF.VIEW_MODE_SITE,
            DLGF.VIEW_MODE_RECENT_SITES,
            DLGF.VIEW_MODE_FAVOURITE_SITES,
            //DLGF.VIEW_MODE_SHARED,
            DLGF.VIEW_MODE_REPOSITORY
            DLGF.VIEW_MODE_USERHOME
         ],
         extendedTemplateUrl: Alfresco.constants.URL_SERVICECONTEXT + "modules/documentlibrary/copy-move-to"
      });


But it doesn't work. I tried it in debug mode, and also created minified version. Both doesn't work.
Seems I still miss something.

I checked this similar past post: https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/hide-options-copy-move-08152012-0819
But doesn't work with latest version.

Thanks in advance for any suggestion

Outcomes