workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 05:30 AM
Hello Community,
I have a problem and I need help regarding same. I want to know, if user clicks on NEW button in the list view in ServiceNow Workspace, it should open google.com (it could be any link). Can anyone help me with the client script under UI action configuration>>all global list actions.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 06:16 AM
This sounds like some kind of customization that will leave a huge technical debt. Why not create a new button for this functionality to redirect you to another URL? The new button is there for people with 'create' roles on a table to create a new record of the type of list they are on.
I wouldn't change the OOB button to direct to something outside of ServiceNow. Create a custom button for it, to prevent issues with future upgrades and such.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 06:30 AM
May i know use case for same. It is not a best pratice and it will be a customization which need to avoid.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 06:55 AM
@ShraddhaMore Its "Not Advisable" to edit on OOB as @Dr Atul G- LNG & @Mark Manders had mentioned below and also kindly limit your customizations.
Below is my implementation as a custom button on Workspace earlier, as we are moving to SOW or explain the impact to the customers on doing the modification.
1. Navigate to Workspace Experience -> List Actions (or) Access the table directly [sys_declarative_action_assignment.LIST] and fill the details,
2. Click on Advanced view and on the client script you can mention as below which will route to the necessary link on click of that button in the workspace.
Note:
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.