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,



                          yes


find_real_file.png


find_real_file.png




Regards


Kranthi


Hi Kranthi,



Have separate Delete button on your custom table and add confirm box in that.



Create Delete Button and give action_name as delete_checked rest all keep as it is similar to Delete button on Global table and have your own script there to delete the selected record.


screenshot below:


Capture.JPG



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


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

Hi Ankur,



                              Thanks for the response it is not possible with out using global delete code. If it is possible please give that code



Thanks & Regards


Kranthi kumar


Hi Kranthi,



If you do changes to global delete button then this message will appear for all the table deletion option which is not proper.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


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

Hi Kumar,



Any update on this?


Can you mark my answer as correct, helpful and hit like if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.



Regards


Ankur


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