Change The color of the UI action on the instance side ( Tokyo version)

Kachu
Kilo Sage

I Have a UI action Created on the incident table named  "Create IBR" . Our product owners  requested to change the colors of the UI action for which i have tried  by  Changing Form style on UI action  to "destructive ". it changed the color to red.

Can any one help how can i change the color according to my requirements. ?

 

Thank You.

 

Kachu_0-1688269236138.png

 

1 ACCEPTED SOLUTION

I made it happen by using Ui macro and Formatter. Thank you @Mark Roethof  for replying quickly

View solution in original post

4 REPLIES 4

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Out-of-the-box you can change it to Primary and Destructive (colors depending on your theme) or Unstyled.

 

You could change the color scripted, though is that worth it? And ask yourself, is that maintainable in the future.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Yes. We do want it to change as we will change only for couple of UI actions What theme it reflects do you know ?

If its only for a couple of UI Actions, you definitely don't want to change the theme. Then it will be applied for all UI Actions using that style.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

I made it happen by using Ui macro and Formatter. Thank you @Mark Roethof  for replying quickly