09-02-2013 11:46 AM
09-03-2013 12:43 PM
var sitesMenu = widgetUtils.findObject(model.jsonModel.widgets, "id", "HEADER_SITE_CONFIGURATION_DROPDOWN");
if (sitesMenu)
{
sitesMenu.config.showCreateSite = user.isAdmin;
}
09-04-2013 05:38 AM
09-04-2013 06:11 AM
09-04-2013 02:24 PM
10-24-2013 10:10 AM
<extension>
<modules>
<module>
<id>Hide Create Site</id>
<version>1.0</version>
<customizations>
<customization>
<targetPackageRoot>org.alfresco.share.header</targetPackageRoot>
<sourcePackageRoot>test.hide-create-site</sourcePackageRoot>
</customization>
</customizations>
</module>
</modules>
</extension>
// Find the "Sites" menu…
var sitesMenu = widgetUtils.findObject(model.jsonModel, "id", "HEADER_SITES_MENU");
if (sitesMenu != null)
{
// Hide the site finder…
sitesMenu.config.showCreateSite = false;
}
10-24-2013 11:08 AM
10-24-2013 02:43 PM
10-25-2013 04:27 AM
10-25-2013 05:15 AM
10-25-2013 06:10 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.