02-01-2016 05:10 AM
widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_REPOSITORY");
to share-header.get.js file.02-01-2016 08:42 AM
C:\ALF_DIR\tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\pages\repository.xml
<?xml version='1.0' encoding='UTF-8'?>
<page>
<title>Repository Browser</title>
<title-id>page.repository.title</title-id>
<description>Browse content across the whole Repository</description>
<description-id>page.repository.description</description-id>
<template-instance>repository</template-instance>
<authentication>admin</authentication>
</page>
02-01-2016 10:42 AM
02-01-2016 09:28 PM
var repositoryMenuItem = widgetUtils.findObject(model.jsonModel, "id","HEADER_REPOSITORY"); //get the instance of Repository Menu item
repositoryMenuItem.config.targetUrl = "<New Page URL>"; //Update the Repository menu Item URL
repositoryMenuItem.config.label="<New Page Lable>"; //Update the label
Example:
var repositoryMenuItem = widgetUtils.findObject(model.jsonModel, "id","HEADER_REPOSITORY");
repositoryMenuItem.config.targetUrl = "console/admin-console/application";
repositoryMenuItem.config.label="My Admin Console";
02-01-2016 10:00 PM
02-02-2016 06:29 AM
02-02-2016 09:29 AM
var repositoryMenuItem = widgetUtils.findObject(model.jsonModel, "id","HEADER_REPOSITORY");
repositoryMenuItem.config.targetUrl = "repository#filter=path%7C%2FUser%2520Homes";
repositoryMenuItem.config.label="User Home";
var repositoryMenuItem = widgetUtils.findObject(model.jsonModel, "id","HEADER_REPOSITORY");
repositoryMenuItem.config.targetUrl = "repository#filter=path%7C%2FUser%2520Homes%2F"+user.name;
repositoryMenuItem.config.label="User Home";
User Homes
menu, then I'm redirected their user home directory and I can see only my user home directory.02-03-2016 02:37 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.