Workspace, add a List button that will process Selected records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2023 07:12 AM
I need to add a new button to a list/related list in the Software Asset workspace, but any configurable workspace will do.
The button needs to be visible (either all the time, or only when records are selected) and will process only the selected records calling a client script or preferaby a Script Include.
The button does not need to load a modular page, a new list in a new tab, allow me to assign the records to myself - there are a number of examples of those around, but I am afraid they have not helped me in my scenario.
I have read all sorts of links and seen a number of videos that do not help my requirement, one said it needs a "few steps", and then proceeds to show 9 tables that maybe impacted !
How do I achieve the "select a few records and pass those ID's onto a Script Include" ?
Before
Classic - create a UI Action, choose list and add a script
Agent Workspace - as above, choose the Workspace options and a new script.
UI Builder - this is not intuititive at all. To make it worse, I start to follow some of the links I found, then find it does not work and at the bottom there are "this is not working in Tokyo, Utah, Vancouver", so now I read the link, all the comments and check to see if there is a "not working in....".
Indeed, some of the UI Builder has changed quite a bit inbetween the Tokyo instance I am working at and the Vancouver PDI I am trying to work this out on.
Following one of the videos (cheers Brad), I added an Event Handler, I saw it look OK in the page in another tab, then back into UI builder it was not there - no idea where it vanished to. Thinking I had done something wrong, I went to create again (which it allowed), and then when I checked the workspace I was told I had 2 handlers with the same name..... yes, I recreated as it was missing, but then when I went back into the UI Builder neither were there.
At this point I backed that out and decided to go and do all this work/testing in a PDI
Any guidance would be appreciated - even if it is how to get a button on a list/related list and just pass the ID's to a Script Include that will simply add them to the log.
Thanks in advance
- 4,790 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2024 08:48 PM
It's the end of 2024 and there is still no clear solution on how to achieve this?
This says alot about ServiceNow as a product for development, and what it has become.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Agreed