• Kalyan Meda
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I have a custom button on the Opportunity record that executes the following s-control:


Code:
function redirect()
{
parent.frames.location.replace('/{!Opportunity.Id}/e—clone=1&retURL=%2F{!Opportunity.Id}&opp3={!Opportunity.Name} - Exam Order&00N50000001MsKI=1&cloneli=1&save=1');
}
redirect();



The problem is that this URL with the "&save=1" parameter updates the existing Opportunity instead of creating a new one. Does anyone know what parameter I need to pass in the URL to make it save a new Opportunity record?

Message Edited by AlexCRMmanager on 05-07-2007 12:36 PM