You need to sign in to do that
Don't have an account?
Need a clone button for Quote and Quote Line Items for Lightning
We created a custom clone button for Quote to clone the quote and quote line items, but it doesn't work in Lightning.
Code for the button at present:
/{!Quote.Id}/e?clone=1&oppid={!Quote.Opportunity_ID__c}*
*It kept saying that OpportunityId didn't exist, so we created a custom ID field, which worked fine in Classic.
I am not an Apex coder, so wondered if anyone has had luck creating a URL Hack to clone Quote and Quote Line Items in Lightning.
Right now, when we try to clone in Lightning, we get the error "Required fields are missing: [OpportunityId]" so something else is going on. I want to believe that this is a simple fix, but I don't know. I would be forever grateful if someone could help.
Thanks!
Below is the syntax for lightning URL hack. https://www.salesforceben.com/salesforce-url-hacking-for-lightning-tutorial/
Thanks,
Vinay Kumar