08-13-2014 03:08 AM
function generateAppItems() {
var appItems = [
{
id: "HEADER_HOME",
name: "alfresco/menus/AlfMenuBarItem",
config: {
id: "HEADER_HOME",
label: "header.menu.home.label",
targetUrl: "user/" + encodeURIComponent(user.name) + "/dashboard"
}
},
// {
// id: "HEADER_MY_FILES",
// name: "alfresco/menus/AlfMenuBarItem",
// config: {
// id: "HEADER_MY_FILES",
// label: "header.menu.myfiles.label",
// targetUrl: "context/mine/myfiles"
// }
// },
{
id: "HEADER_MY_SITES",
name: "alfresco/menus/AlfMenuBarItem",
config: {
id: "HEADER_MY_SITES",
label: "My Sites",
targetUrl: "my-sites"
}
},
…
<webscript>
<shortname>My Sites</shortname>
<description>My Sites Toolbar Element</description>
<url>/components/my-sites</url>
</webscript>
SEVERE: Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Could not resolve view with name 'my-sites' in servlet with name 'Spring Surf Dispatcher Servlet'] with root cause
javax.servlet.ServletException: Could not resolve view with name 'my-sites' in servlet with name 'Spring Surf Dispatcher Servlet'
08-22-2014 12:38 PM
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.