Hi all,
I am having Customer lookup which I need to set default to Contact. The below code is not supported in CRM 2015.
document.getElementById("customerid").setAttribute("lookuptypes", "2");
document.getElementById("customerid").setAttribute("defaulttype", "2");
Xrm.Page.getControl("customerid").setDefaultView("{AB582FB0-A846-453E-AD88-77F75CE91264}");
Please suggest alternative for the same.