You need to sign in to do that
Don't have an account?

How to convert an Opp from contact
Has anybody tired converting only an opportunity from Contact.
I know Lead conversion .
But as one of my projects .I need to have a button convert opp on Contact and that creates an opportunity alone.
Any solutions please
I know Lead conversion .
But as one of my projects .I need to have a button convert opp on Contact and that creates an opportunity alone.
Any solutions please
Otherwise, try process workflow builder!
Please Refer this link : https://success.salesforce.com/answers?id=90630000000hbGUAAY
Can you please let me know if you want any further help?
Thanks,
Raj
This can be acheived through AJAX Toolkit on button click. Here is my solution:
Create a new button (New Opportunity) and select Display Type as Detai page Button Behaviour: Execute javascript
and paste below code in JS editor: Basically we are collecting Opportunity data and creating a record through ajax request. If the transaction is success it will alert with a message else it will throw an error.
Thanks
Brahma
I pasted your code,but there are few required fields on my opportunity beacuse of which the button is failing.
Could you please guide me on how to pass all Opportunity required fields and few of them are picklist fields.It would be great if you can help me on this.
As mentioned in my script comments, Add all the required fields with similar syntax.
Example:
I believe you need to add all the required fields here manually. Please check below link to fetch picklist values in prompt window.
http://stackoverflow.com/questions/24949285/drop-down-list-inside-a-pop-up-window-comes-up-when-button-is-pressed
Hope it helps.
Thanks
Brahma