cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide repository wiki,datalist and calendar folder

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello All
I faced a problem for a long time,the problem is as following:
In the repository page,on the left screen,there is a repository node,when we are click the repository node,there will appear imap attachment,imap home,data dictionary,shared,user company home,site folder and so on,In the site folder,there will appear some sites that we have created,In every site,there will appear calendar,datalists,documentlibrary,wiki and so on,but now I want every site just appear documentlibarry folder,other folders likes wiki,blog,calendar and so on don't appear,How I can do it,Any one have a good idea for me?thank you very much!
2 REPLIES 2

sanket
Champ on-the-rise
Champ on-the-rise
Easiest way is to remove all permissions on those folders.
From alfresco explorer, you can go to that folder > Manage Space Users. Remove every permission you see (including EVERYONE).  And check.

Other way is :
You can apply hidden aspect to these folders.
Prepare a script which you can run as a rule on sites folder (or any parent folder you want).
Prepare a list of nodeRefs you want to hide. Loop through those nodes and hide them.


var node = "YOUR NODE (FOLDER NODE TO BE HIDDEN)";
node.addAspect("sys:hidden");
node.save();

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello Sanket,you are very kind to me! thank you very much!