function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Micky MMicky M 

Clone Opportunity Products

Hi all im trying to clone an opportunity product and found this : /{!OpportunityLineItem.Id}/e?clone=1&retURL={!OpportunityLineItem.Id} that you can use as a detail button on the product object. However when i save the clone i get this message: "You are missing information needed by the page you have attempted to access. If you believe this is an error, please refresh your screen. If the error persists, please report it to our Customer Support team and provide the URL of the page you were requesting as well as any other related information."

ive found a couple of posts about this but no one has a soluation, has anyone on here had the same thing? and if so did anyone manage to fix it?

Hi Micky,

Unfortunately, Opportunity products (line items) cannot be cloned using this method. You have to go for a visualforce page within a custom button to achieve this.

Or, you can also create a "Clone" check box on an opportunity product page and use it to fire an apex trigger which can create a clone for you.