Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

CAB Workbench Copy

GannahA
Tera Contributor

Hello, I'm creating a copy of the CAB Workbench portal by creating a new portal that has the same homepage, login page, etc... but with a different theme & logo.

 

I've noticed that when I try the portal, I don't get navigated to the calendar view right away, I have to click on the logo first for the URL to navigate me to the calendar view. Any inputs/advice on how to fix that? Any previous experience working with CAB to share that I need to keep an eye out for?

 

Thanks in advance for any and all help!

2 REPLIES 2

Community Alums
Not applicable

Hi @GannahA 

Do you have a copy of the widget script or is it virtually the same as the original?

 

I’ve found the CAB workbench can be a bit temperamental if you mess around with it. Check your client script and see if there’s something like this in there and update it to match your needs.

 

if (window.location.pathname == '/cab-portal') {
    window.location.href = '/cab-portal?id=calendar_view';
}

 

Please mark as helpful or if it’s resolved the issue, CORRECT!  

Hi @Community Alums, it's virtually the same as the original, I didn't change anything except the logo and added some CSS variables.

 

These are the only client scripts available and none of them have a code similar to this, so I'm not sure where to look.

GannahA_0-1736016766504.png