I remove ui action custom button from list level

keshav77
Tera Contributor

Hi All,

 

I created one ui action button In related list  of incident for related list problem. I want to show that button in related list of incident but not in the list of problem how I remove that.. or what is the way to remove that through list control

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@keshav77 

you can show button only in related list by adding this in condition, it then gets hidden in normal list view

RP.isRelatedList();

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@keshav77 

you can show button only in related list by adding this in condition, it then gets hidden in normal list view

RP.isRelatedList();

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@keshav77 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I am using this only for the related list in ui condition RP.isRelatedList(); but it is also visible  in normal list