0

Here it says

In Lightning Experience, opportunities with products can’t be cloned.

I tested this out and I was actually able to clone and Opportunity with products using the standard clone button in lightning.

How can I prevent this ?

  • 1
    The docs could definitely be clearer, but while you can use the Clone button on an Opp with Products, the cloned will not have the products on it. – Thomas Taylor Jun 5 at 18:54
0

You can either remove the clone button altogether, or you can create a custom clone button and then put in backend validation in the code to prevent the clone method from inserting the new oppty IF any products are related to the oppty which is being cloned.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.