Customize Convert Lead

From Nishanta's Blog
http://nishantrana.wordpress.com/2010/04/22/customizing-convert-lead-dialog-box-in-crm-4/#comment-5203

This is an unsupported customization, where we would be hiding the account option from the convert lead dialog box.

For doing so,
Find and open the conv_lead.aspx page on your crm server.
Inside the function window.onload add the following code



function window.onload( )

{

// add the following line of code to hide the checkbox

document.getElementById('cbAddAccount').style.display ='none';and to hide the label by commenting out the following tag



<label for="cbAddAccount"><% =Microsoft.Crm.CrmEncodeDecode.CrmHtmlEncode(Util.GetFmtObjName(Util.Account, Util.NameFormatStyle.Singular)) %></label>Just remember this is unsupported.

Or use the following JavaScript
document.getElementById(‘cbAddAccount’).style.display = “none”;
document.getElementById(‘cbAddAccount’).parentNode.parentNode.childNodes[1].childNodes[0].style.display = “none”;

Bye.

















Yorumlar

Bu blogdaki popüler yayınlar

CRM Sayfalarının üzerinde gelen uyarı yazılarını değiştirme

Microsoft Dynamics CRM REAL TİME WORKFLOW (PLUGİN YERİNE KULLANACAĞIZ)

Changing default value of the search criteria of Articles in ms crm