In CRM 2011, I could disabled the lookup view selector with the following code:
document.getElementById(fieldName).disableViewPicker = 1;
However, this doesn't seem to work in Dynamics CRM 2013. Any ideas how I can achieve this result in CRM 2013?
Try this :
Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
- Edited by _Vikram Sunday, November 03, 2013 4:27 AM
Tried this code but nothing happens. It doesn't return any errors either.
I also had a look in the URL you sent me and I noticed that the code they specify is this:document.getElementById("Lookup Id")._behaviors.AddParam("DisableViewPicker", "1");document.getElementById("Lookup Id ")._behaviors.set_showProperty(1);
However such code returns me an error. So annoying :(
- Edited by pmdci Sunday, November 03, 2013 10:36 AM