I'm trying to set the "customerid" lookup field on the case form to a particular custom view that I've created. I am trying to use:
Xrm.Page.getControl("customerid").setDefaultView(viewGuid);
I believe I have the correct guid for the custom view I have created, but the lookup filter is not changing. The view I want to be used as the lookup is a view I created on the contact entity. Am I doing anything obviously wrong here? How might I go about accomplishing this? Thanks in advance for any help.
*This post is locked for comments