Put a colour to ok button in a confirm message

kranthikumar_a
Kilo Contributor

Hi friends,

                                Actually i created a one ui action named as delete using both client script and business rule in that i used a confirm message. After running a confirm is coming with two buttons "OK", "Cancel" default colour of that ok button is blue i want to change that ok button colour how can i get this one please help me friends

Regards

Kranthi kumar

14 REPLIES 14

kranthikumar_a
Kilo Contributor

Hi Ankur,



                            Actually these are two different requirements. I posted yesterday regarding this delete button. Could you please help me.



Regards,


Kranthi kumar.


Hi Kranthi,



Can you explain in detail your requirement with screenshot?



Regards


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

kranthikumar_a
Kilo Contributor

Hi Ankur,



                            Create custom 'Delete' button, to handle confirmation message. Create 'Delete' button in 'Actions on selected rows' for Incident - corrective tasks list. After user select the corrective task(s) and select 'Delete' option in 'Actions on selected rows', it should prompt "Do you want to delete the selected corrective task(s) numbers ?"   by using confirm message and after accept it, System should delete the corrective task record(s). Here incident is a custom table and corrective task is another custom table.


find_real_file.png


find_real_file.png


The above two screen shots are present in the incident form only.



Thanks & Regards


Kranthi kumar


kranthikumar_a
Kilo Contributor

Hi Ankur,


 


                              Could you find code of the this requirement. Create custom 'Delete' button, to handle confirmation message. Create 'Delete' button in 'Actions on selected rows' for Incident - corrective tasks list. After user select the corrective task(s) and select 'Delete' option in 'Actions on selected rows', it should prompt "Do you want to delete the selected corrective task(s) numbers ?"   by using confirm message and after accept it, System should delete the corrective task record(s). Here incident is a custom table and corrective task is another custom table.



Thanks & Regards,


Kranthi Kumar


Hi Kranthi,



So you want a confirm box once user selects the tasks using checkbox and click on Delete UI Action from list?



Regards


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader