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
Wahib_IdrisWahib_Idris 

Customize lead conversion page by URL Hacking

I want to customize my standard conversion page by URL hacking I am able to check the opportunity checkbox but can't find this issue .

Requirement :
 
My requirement is that I have accounts present in system and the lead is always converted with existing account. I don't want to allow user to create new account in salesforce so there is no need of that create new picklist value.

 There is a picklist of Account in lead conversion page what I exactly want is :

1) I want to show only one picklist value that is 'Attach to Existing: BigLife Inc.'
2) Ability to associate it with that account.
2) Make that field read-only so that user can't able to change it.

 

Below is my script

 

window.location.href="/lead/leadconvert.jsp?nooppti=1&id={!Lead.Id}&RetURL=/{!Lead.Id}";

SalesForce.com DeveloperSalesForce.com Developer

I think there is no way to control that, Other than Apex you have to create new lead conversion process as per ypur Req.

Wahib_IdrisWahib_Idris

Yes I know but is it possible to set default of account picklist to "Attach to Exsting Account" ?

PrasadVRPrasadVR

Yes, We Can Do everything Same as lead conversion the below will be help full to you.

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_dml_convertLead.htm

Blajevschi MariusBlajevschi Marius
I am struggling with this problem too ...

I was able to add a new entry in that picklist using accid in the URL. This works for the case when the lead company name is similar  to the account name (as it shows "Attach to Existing Account"). If the names are diffrent it will just show you the accid as an option. Below is a link with details and screenshots.

http://techman97.wordpress.com/tag/professional-edition/ (http://techman97.wordpress.com/tag/professional-edition/" target="_blank)

The UX problem still remains as the user will see an id instead of "Attach to Existing Account". There MUST be a URL var where you can put the account name and that should be inserted into the Account picklist.

I have also found this link usefull : http://www.interactiveties.com/blog/2010/button-override.php#.VBl9PS6SzIp

A
ny other ideas?