How to override login page's successRoute="/personal-files" parameter in Alfresco Digital Workspace

cancel
Showing results for 
Search instead for 
Did you mean: 
vikash_patel
Established Member

How to override login page's successRoute="/personal-files" parameter in Alfresco Digital Workspace

I am using alfresco digital workspace 2.9.0
I have overrided and created component using Alfresco Documentation https://docs.alfresco.com/digital-workspace/latest/develop/extensions/

and it’s working fine

I have created my custom extention and using routes, I am overriding default library page with my custom dashboard component.

custom.module.tscustom.module.ts

custom.jsoncustom.json

DashboardDashboard

I wanted to override the Alfresco Digital Workspace's default login page's  successRoute="/personal-files" parameter to my custom dashboard page url.
I have tried by changing the route's url using below configuration to override the login page but it's not working

"routes": [
{
"id": "app.navbar.libraries.files",
"path": "login",
"parentRoute": "",
"layout": "app.layout.main",
"component": "custom.components.dashboard"
}
],


Is their any way to override default login page / it's parameters?

Thanks,
Vikash