I am working with MS Dynamics CRM 2013 and I am facing with the next issue: in CRM 2011 I disabled view and entity selection on lookup by using next jscript :
document.getElementById("lookup_id").setAttribute("disableViewPicker", "1");
document.getElementById("lookup_id").setAttribute("defaulttype", "1");
document.getElementById("lookup_id").setAttribute("lookuptypenames", "account:1:Account");
document.getElementById("lookup_id").setAttribute("lookuptypes", "1");
But after migration to Dynamics Crm 2013 this script doesn't work any more.
Can you help me with this issue. Thanks!