how to change position of UI Action button

Sneha Nair
Tera Contributor

Hello all , 

I need to move my UI Button to the post incident report tab. Is it possible. ui.png

3 REPLIES 3

Community Alums
Not applicable

Hi @Sneha Nair ,

In UI action you can change the position of the button on the basis of order.

 

Example



Ui Action : Resolve button

 

Order : -1000

when this is the case the UI action is to the leftmost position

SandeepDutta_0-1689315611722.png

 

When the order is 100

SandeepDutta_1-1689315611813.png

When the order is 1000

 

SandeepDutta_2-1689315611790.png

 

However, Changing the Position from Up to Down, 

You can get the id of button and place it in new position.Some work around you have to do which involves DOM manipulation,which is not recommended by servicenow.

example:

document.getElementById("myDIV").style.position = "absolute";

hello sandeep , thanks for the response , since i dont want to use DOM Manipulation which is tagged as " curse word of servicenow" is there any better approach to get my requirement done. Does scripting in the UI Action script section work. 

Hello @Sneha Nair 

 

For bring it down, You need to check the List Action checkbox in the UI Action Record of that particular UI Action.

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Regards,

Samaksh