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?.
Asked
Active
Viewed 570 times
2 Answers
1
Try to use
document.getElementById("regardingobjectid_i").getAttribute("lookuptypenames")

Andrew Butenko
- 5,048
- 1
- 14
- 13
-
But the same is not working for appointment entity. Tried with id what I do from the page. – bs25 Apr 13 '15 at 06:03
0
document.getElementById("customerid").setAttribute("lookuptypes", "1");
will restrict customer to Account

Vinod Srivastav
- 3,644
- 1
- 27
- 40