I have a requirement where a lookup field needs to be filtered based on a certain criteria of a contact record. I implemented this by replacing the query and layout of the lookup control in Javascript and everything works fine. When a user clicks ont he lookup control, the view is defaulted to what I specified in my fetchXml. However, the user is still able to change the view to all available views of the contact entity. Is there a way I can hide all other views except the one specified in my fetchXml?
↧