ShowViewForRecord & how view is located

Timmus Agersea, of AZ-based Customer Systems Inc, posted some really useful info about ShowViewForRecord in the SalesLogix BP newsgroups (Info he got from Doug Gangi – also from CSI). I wanted to pass along the info here so others can be “in the loop” on this one.

Apparently, ShowViewForRecord will locate the view/form passed to it by first searching for legacy views by that name/family. If none is found it will then it will search for an ActiveForm by that name and family. This sucks because as you upgrade systems, it is likely that you’ll end up with a new ActiveForm with the same name as the older legacy view. If this is the case, then there is no way to invoke the new form, since the old legacy one will always be found first when using ShowViewForRecord. And since releasing an ActiveForm, does not remove the release of a legacy view by the same name, the legacy one will show when calling the function.

This could lead to some headaches trying to figure out why your new view is not showing. I suppose it would work to remove the release of the legacy view, or just delete it if possible.

Want content like this delivered to your inbox? Sign up for our newsletter!

Ryan Farley

Ryan Farley is the Director of Development for Customer FX and creator of He's been blogging regularly about SalesLogix, now Infor CRM, since 2001 and believes in sharing with the community. His new passion for CRM is Creatio, formerly bpm'online. He loves C#, Javascript, web development, open source, and Linux. He also loves his hobby as an amateur filmmaker.

Submit a Comment

Your email address will not be published. Required fields are marked *