Hi Folks,
I am facing problem setting a constant entity in regarding look up for appointment activity.I able to constrain it in activities by using following script ...
function abc()
{
var control = Xrm.Page.getControl("regardingobjectid");
control.getAttribute().setLookupTypes(["contact"]);
}
but when i create an appointment by account entity then the regarding field gets unlock.






