there should be a supported way to adding a custom view to a subgrid at run time!The lookup control has the addCustomView method but this does not appear to function for the subgrids.There existis a view workarounds, but all with unsupported code:http://crmgreenbible.blogspot.de/2011/07/crm-2011-change-subgrid-fetchxml.html?showComment=131533667...http://www.mscrmking.com/2011/06/crm-2011-how-to-filter-add-existing/this was also high discused in the CRM Development Forum. See http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/19aa44b7-4c5f-49f4-9c07-4991a05f162d/
Thankyou for your suggestion. We will consider this in our roadmap.
Is it just me that thinks it's crazy that addCustomView functionality is available on the lookup control, but not on a subgrid? This would be so useful, but it's been years since the request was made.
this is one of the most used "unsupported features". I'm really disappointed that it's still not something available in a supported way.
What I have done is add a lookup field to the form, create the custom view on the lookup, then it is available in the subgrid. The user has to select the custom view in the subgrid lookup to filter the list, but its better than nothing. I can't set it as the default view in the subgrid, though, because IsDefault applies to the lookup.