Hi all
I would like to filter the lookup of From and To as Entity type Contact only, but I got the following error in new MSCRM 2015 online.
document.getElementById("from").setAttribute("defaulttype", "2");
document.getElementById("to").setAttribute("defaulttype", "2");

Any help is greatly appreciated. Thanks.
Gary