Hi,
I have a custom lookup and I define fetch xml and Xml layout and I disabled The view picker.
See the below code. It works perfect
Xrm.Page.getControl("my_attribute").addCustomView(viewId, entityName, viewDisplayName, fetchXml, layoutXml,true);
document.getElementById("my_attribute").setAttribute("disableViewPicker","1");
My question is there any way to programatically remove the checkmark from the
"Filter by related employer" checkbox on the lookup view?
Thanks,
Maryam