Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

I need to hide "edit" ui action from one table

YashasM
Tera Contributor

I have duplicated the OTB edit ui action and

new GlideRecord(current.getTableName())).canCreate() && RP.isManyToMany() && !RP.getListControl().isOmitEditButton() && current.getTablename()!='u_service_option'; This is not working 

1 ACCEPTED SOLUTION

@YashasM 

So you are on Service Option form and Subscribers is related list table

Then why not use Configure List Control and Hide the Edit button from there?

Why to override OOTB UI action?

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

View solution in original post

11 REPLIES 11

@YashasM 

any update to above comment?

Hello @Ankur Bawiskar , Please find the screenshot of the ui action

 
 

Screenshot 2026-03-04 162020.png

@YashasM 

so you are on which form? Subscribers or Service Option?

 

I am on Service option 

@YashasM 

So you are on Service Option form and Subscribers is related list table

Then why not use Configure List Control and Hide the Edit button from there?

Why to override OOTB UI action?

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏