Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

UnCheck Filter by Related Employer in Crm 2011 Custom lookup

$
0
0

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

 


Viewing all articles
Browse latest Browse all 8223

Trending Articles