You need to sign in to do that
Don't have an account?
finalist
Is it possible to co-opt 'Convert Lead' functionality, leaving existing Convert button as is?
Is it possible to access the functionality of the Lead Convert button without overriding the button itself, if I want to provide an alternative way to handle certain business processes?
Is it simply a matter of taking the Lead Id from the Lead and redirecting to the 1st conversion page?
There are a few steps to update some fields in the Lead before I passed it on, but otherwise it's just a standard process.
I suppose one option would be to override the Convert button and call it 'Accept/Convert', and depending on whether 'Submitted' = True, I either do my update and then convert, or just convert.
For those Sales Reps who aren't affected, though, I'd rather not have to explain what 'Accept/Convert' is; I'd rather just say "You guys just ignore the new 'Accept Lead' button; you,on the other hand, need to use this new process.'
Thanks!
Is it simply a matter of taking the Lead Id from the Lead and redirecting to the 1st conversion page?
Code:
https://na5.salesforce.com/lead/leadconvert.jsp—retURL=%2F(LeadId)&id=(LeadId) // parens inserted in above ^ line for emphasis only; no actual need for them
There are a few steps to update some fields in the Lead before I passed it on, but otherwise it's just a standard process.
I suppose one option would be to override the Convert button and call it 'Accept/Convert', and depending on whether 'Submitted' = True, I either do my update and then convert, or just convert.
For those Sales Reps who aren't affected, though, I'd rather not have to explain what 'Accept/Convert' is; I'd rather just say "You guys just ignore the new 'Accept Lead' button; you,on the other hand, need to use this new process.'
Thanks!
This bit of code also includes code to check whether the starting page was inside of the Console, or was just inside the standard Leads tab:
Now, where'd I put that code that replaces my need to hard code na2.salesforce.com ...
Message Edited by finalist on 08-12-2008 03:33 PM
Thanks for sharing!
I copied your code over like this:
But here is the error I got, any clue on what I am missing? I tried both: overwrite Convert; and customer Button. Error: