The CreatorCon Call for Content is officially open! Get started here.

how to change the position of ui action buttons

immanuel1
Mega Contributor

Hi Guys,

How to change the position of ui action buttons into another place. I need "Change request" button to move beside the attachment icon.see the below screen shot for reference.

find_real_file.png

Thanks in Advance,

Immanual

10 REPLIES 10

Hi Mohd,


  You can get the id of button and place it in new position.Some work around you have to do.


example:


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



Thanks


immanuel1
Mega Contributor

Hi ,



Can you please explain clearly


Hi Aakash,



Can we move beside of attachment icon? i need to move beside of attachment icon means "change request" button is the 1st button to display


Hi,



I guess that would involve DOM manipulation and it is better ServiceNow recommends using against it.


You can check this



https://docs.servicenow.com/bundle/helsinki-servicenow-platform/page/script/client-scripts/reference...


You can change the order of UI action. No need to DOM manipulation.