Defaulting the new Project Workspace

Community Alums
Not applicable

This month our instance has been upgraded to San Diego, as such we have been able to take advantage of the New Project Workspace and our end users love it.

We've been asked to default projects to use the new workspace instead of the Classic view, saving a few clicks each time.

Has anyone made this change, or know what needs to be done to implement this?

find_real_file.png

Our users, use the UI action in a project to load the Classic view at the moment.

find_real_file.png

Thanks in advance, 

Aaron

 

6 REPLIES 6

Hi Aaron,

 

Did you ever find a solution for this? I am trying to get projects to default to the new Project Workspace as well (2 years later lol).

 

Thanks,

Irene

 

If you are still looking for an aswer, a sys_navigator record has to be created for the pm_project table with the following code, or something similar:

/*
    Force a redirect to the project workspace for everyone other than admins
*/

if (!gs.hasRole('admin')) {
    if (!g_uri.get('sys_id') || String(g_uri.get('sys_id')) === "-1") {
        var url = "/now/workspace/project/home";
        url;
    } else {
        var today = new GlideDateTime();
        var timestamp = today.getTime().getNumericValue();
        var url = 'now/workspace/project/home/sub/planning/pm_project/' + g_uri.get('sys_id') + '/' + timestamp + '/params/page-name/planning';
        url;
    }
} else {
    g_uri.set('sysparm_view', '');
    g_uri;
}