Reputation: 1
Am trying to restrict the entities list in regarding object lookup in task entity. document.getElementById('regardingobjectid").getAttribute("lookuptypenames") is returning null in 2015 whereas in crm 2011 it is working fine. is there any way to get all the entity listed in multi entity lookup in crm 2015?.
Upvotes: 0
Views: 620
Reputation: 4255
document.getElementById("customerid").setAttribute("lookuptypes", "1");
will restrict customer to Account
Upvotes: 0
Reputation: 5446
Try to use
document.getElementById("regardingobjectid_i").getAttribute("lookuptypenames")
Upvotes: 1