How can i redirect new change button on SOW to homepage or desired URL

bhupendra paree
Tera Contributor

Hello All ,

 

i want to redirect all users when they click on 'New' button change list view in SOW/Agent workspace ; to a specific URL , rather than opening a new change request form . 

How can we achieve it any idea?

moreover how can we disable this new button in both SOW and AW . Its found in UX form Actions, but i need to hide/disable for change requests only not for all .

 

5 REPLIES 5

Samaksh Wani
Giga Sage
Giga Sage

Hello @bhupendra paree 

 

You can create a UI Action Button :-

 

action.setRedirectURL(change_request.do?sys_id=8782a9bb9394bd505f15ba5d6cba108d);

 

you can call variable for dynamic sysid.

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Regards,

Samaksh

bhupendra paree
Tera Contributor

Do that works in Workspace also ?
i have tried with action.setRedirectURL in UI action button script but its not working there.

if any suggestions on it , please feel free to put your points.

 

Hello @bhupendra paree 

 

Plz go through the link you will get better understanding.

 

https://www.servicenow.com/community/developer-forum/unable-to-see-workspace-button-in-ui-builder/m-...

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Regards,

Samaksh

Hello @bhupendra paree 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh