how to put a UI action on the related list .

vahini
Giga Guru

this post is deleted by me .

6 REPLIES 6

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Vahini,



If the UI action created is on table "Tests", then you can select the checkbox "List banner button" on the UI action. Button will be available next to the New button.


Reference:


UI actions


Hi Pradeep ,



yes i tried it too ,


if i do it , UI action is displayed on the top header not on related list .



find_real_file.png


Hi Vahini,



put RP.isRelatedList() in your ui action condition field.


if you have Many-to-Many related list then you can use   RP.isManyToMany()   in UI Action condition and for One-to-Many you can try with RP.isOneToMany() in UI Action condition field.



Hope it will help you .