Best way to prevent Make a Copy for opportunities ...
# administration
p
Best way to prevent Make a Copy for opportunities and transactions...?
k
Remove the action from the forms
I hate that button
💯 2
p
@KevinJ of Kansas Me too!
n
Pretty sure you can also deploy a user event that on "copy" returns an error.
k
Scripting takes resources every time the page is loaded. Easier to spend ~40 minutes and blow the button out on all relevant forms.
n
not arguing with that but it's another option plus takes care of when someone else adds a new form and doesn't remove the button 🙂 I think you can also remove button in script if memory serves...
Copy code
function beforeLoad(context) {
    var yourForm = context.form;
    yourForm.removeButton('makecopy');
}
Nothing wrong with having knowledge and options 😉