omit edit button on group table level

LaraReddy
Tera Guru

Hi All,

we want that only the Group owner can see and use the "edit" button on the related list "Group Members". Therefore we edited the List control and added following omit edit button script.

But some reasons it's not working, can anyone please help us here.

LaraReddy_0-1708606725158.png

 

Advance thanks.



30 REPLIES 30

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @LaraReddy 

Try like this

 

AGLearnNGrow_0-1708607866133.png

 

*************************************************************************************************************
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]

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

Hi AG,

Thanks for the message.

If we use the edit role option, we can add only roles not possible to check the group manager or not.

Thanks.

Yes, so may be create a custom role only for Group managers and use that.

*************************************************************************************************************
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]

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

hi @Dr Atul G- LNG 

hi @Ankur Bawiskar 

Hi @ Aman Kumar S

Hi  @Aman Kumar S

I have requiment that i need  create  related list (cmdb_ci) on Incident(Ticket) form.I have created sucessfully using relationship .related query should display "ticket=related number" for example "ticket=TIX0161031", but related query showing computer as i have highlighted in screenshot , i need exactly query like "impacted cIs" related list, i have hihlighted in screenshot.

anitha0887_0-1739997525620.pnganitha0887_1-1739997595529.png

 

Hi @anitha0887 

 

I think you need to add a filter here

 

https://www.servicenow.com/community/now-platform-articles/adding-a-filter-to-a-normal-related-list/...

https://www.servicenow.com/community/developer-forum/change-the-default-filter-and-sort-of-a-related...

 

*************************************************************************************************************
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]

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