Sunday, September 2, 2012

Dynamics CRM 2011 setDefaultView and View Selector

Dynamics CRM 2011 filter lookup using javascript

I'm not going to write about how to filter look up using JavaScript, it is quite straight forward and can be found in the SDK
, Or in many more other blogs.
This post is about setDefaultView and when it is not working.

Apparently when Lookup field parameter "View Selector" is set to off setDefaultView is not working.

There is a trick (Unsupported) to
Set the attribute control "disableViewPicker" to false and back to true after the default view is set.

For example and more details read the form thread.

Thank you yogi 4.0 for asking the right question and finding the answer you've saved me time here.

No comments:

Post a Comment