What is the location of "Add Selected" button of Add Affected Configuration Items pop - up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2017 11:47 PM
Good morning, All!
I am trying to find where the "Add Selected" button of the Add Affected Configuration Items pop - up in Change Request is located:
I found that my DEV instance comes with two default UI Actions called "Add Selected". Yet, non of them is the one I am looking after.
So, reviewing some of the threads here (for example: Re: Where can I find UI action for 'Add all' button on Configuration Item sys pop-up) I found add that the UI Action "Add" which runs against CIs Affected (task_ci) table is the one, called "Add All" in the pop - up.
May someone direct me to the location of the other button? Thank you!
In short - I would like to override it.
Regards, Georgi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2017 12:11 AM
Those buttons are coming directly from jtemplate which is in file system. Unfortunately customers can't access those templates. But With some clever javascript techniques you can customize the buttons or introduce new functionality.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2017 12:33 AM
Hello Lakshminarayana,
Thank you very much for sharing your thoughts!
I've taken a deeper look into the "AssociateCIToTask" Script Include.
There is a function "addSelected" there. It is the one responsible for the "Add Selected" button.
With a simple modification of the script - I've managed to modify the button's behavior.
I will continue with the customization and see if I will be able to cover my goal here.
Now, I will mark this thread as "Assumed Answered".
Have a successful day ahead, Lakshminarayana!
Cheers, Georgi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2024 04:04 AM
Hi @georgimavrodiev ,
Can you help me in the below requirement. On click of UI Action button I'm able to display the below thing. I'm not understanding how can I add "add" button after selecting the records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2018 04:20 AM
Hello georgimavrodiev,
Can you please explain me how you modified button's behavior, i want to close window after clicking 'Add Selected' button.
Regards,
Abhijit
ServiceNow MVP