Question

Disable Open, Copy and Delete buttons based on a record column

Hello,

 

I want to disable the open, copy and delete button for the records in which a lookup column has a certain value. Example: only diable the buttons when the case category is "Incident".

 

I tried to use a query to get that lookup value but I need to use the read value outside the query in order to call the base fuction (this.callParent(arguments)) if the disable condition is not matched.

 

I hope you can offer me a solution. Thank you in advance!

Like 0

Like

2 comments
Best reply

I have an article that shows how to do this (conditionally allow based on values of the selected row). See https://customerfx.com/article/conditionally-allowing-delete-copy-or-ed…

Hope this helps.

Ryan

I have an article that shows how to do this (conditionally allow based on values of the selected row). See https://customerfx.com/article/conditionally-allowing-delete-copy-or-ed…

Hope this helps.

Ryan

It worked! Thank you very much Ryan!

Show all comments