How to Remove Public Pages and Private Pages for All Users in UMP

Document ID : KB000034964
Last Modified Date : 04/02/2019
Show Technical Document Details
Introduction:

This article describes how you can remove the Public and Private Pages links from the Dock Bar in UMP so that only communities are visible. 

Instructions:
In order to do this, you need to modify the portal-ext.properties file located in.. 
 
 
$Nimsoft\probes\service\wasp\webapps\ROOT\WEB-INF\classes 
 
Note that it is possible that you may not have permissions to modify this file if you are running a hosted environment (Nimsoft On Demand).
If that is the case, bring this to the attention of Nimsoft Support for assistance.
 
Modify or add the following lines anywhere in the file (typically at the end of the file)... 
 
layout.user.public.layouts.enabled=false 
layout.user.private.layouts.enabled=false 
 
This will remove the link to Private Pages and Public Pages on the Docking Bar and you will only see the communities that the users have access to.
If you want to remove one or the other, then you can easily do so by only modifying the appropriate entry.
For example, if you only want users to see Public Pages, you can configure as follows...
 
layout.user.public.layouts.enabled=true
layout.user.private.layouts.enabled=false
Additional Information:
Notes: 
--This is an ALL or NOTHING setting. It affects all users including Administrators/Superusers
--Be sure that you have all of your communities available and configured with the desired pages/portlets before doing this 
--Be sure that all users are configured with appropriate permissions to only view the communities required. 
--At any time, if you decide you want to undo this, you can change the settings above from false to true.