Default Route - tsgrp/HPI GitHub Wiki
Upon logging in, each project can route a user to a specific section of HPI. By default, all users are routed to the Dashboard at /Dashboard.
To configure a project-specific route, add a defaultroute
attribute under security in app/configs/config-project.js
Here's an example that routes all users to search:
var config={
'app': {
serviceUrlRoot: "/OpenContent/rest",
root: "/hpi",
soapServiceUrlRoot: "/OpenContent/services/",
collectionRelation: "hpi_collection_item"//serviceUrlRoot: "alfresco/rest",
//soapServiceUrlRoot: "/alfresco/cmis/OpenContent/services/"
},
'security': {
docbases: [
"sopdev"
],
defaultRoute: '/search'
},
'modules/hpiadmin/hpiadmin': {
useLocal: true
},
'modules/search/tableview': {
}
};