Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Set default a "Customer" lookup dialog dropdown to "Contact" instead of Account in CRM 2015

$
0
0

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.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>