How to add colour to UI action buttons ?

bhattahemas
Tera Contributor
 
4 REPLIES 4

Chaitanya ILCR
Kilo Patron

Hi @bhattahemas 

 

If you want to add other than red, blue and transparent 

 

Check below

 

https://www.servicenow.com/community/developer-forum/styling-ui-action-buttons/m-p/2094645

 

 

Regards 

Chaitanya 

Community Alums
Not applicable

hi @bhattahemas ,

 

There is a field on the UI Action form called 'Form Style'. It has the following options to change the UI action button color:

  • Primary – for blue color
  • Destructive – for red color
  • Unstyled – for white color

Dr Atul G- LNG
Tera Patron
Tera Patron

It depends on your perspective — whether AI is going to take jobs or enhance them. There's no doubt AI is changing the world, but if we don’t keep up with the learning curve, we risk falling behind and eventually saying, “AI replaced me.” So it's important to move with the times, build the right skills, and continue growing.

There are many courses available on Now Learning that can help you learn more about AI in ServiceNow.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

SupriyaWaghmode
Kilo Sage

Hello @bhattahemas ,

 

You can add the colors for UI button as we below mentioned ways 

  1. Navigate to UI Actions: Go to System Definition > UI Actions.
  2. Select the UI action: Open the UI action you want to modify.
  3. Set Form Style: In the UI action form, locate the "Form style" field. ServiceNow provides several pre-defined styles like "Primary" (usually blue) and "Destructive" (usually red). You can select one of these or create a custom style.

For more information, please refer   this article-

https://www.servicenow.com/community/developer-forum/setting-ui-action-color/m-p/1819677

 

If this resolves your query, please mark as accepted solutions.

--

Thanks & Regards ,
Supriya Waghmode |ServiceNow Consultant