Mar 17 2008

Resolving Multiple Default Public Views In Microsoft CRM 4.0 Using A Supported Method

Hello fellow Microsoft CRM 4.0’ers – today’s blog entry involves an issue that at least 3 implementations that I’m aware of are suffering. This issue sometimes appears when you import customizations and subsequently attempt to change the default public view for that entity.

In this scenario, I’ve renamed the “Accounts” entity to “Company” (a common customization) and according to the business requirements I attempted to change the default public view to “Active Companies.”

When this is completed we see two default public views for this entity:

Form & Views 1

There are a few things you can do to correct this situation including going into the xml for the entity or perhaps taking a trip into the metadata in the database, but to stay within supported territory this is an easy fix.

First, create a new view:

Form & Views 2

And name it ‘temp.’

Form & Views 3

Next – assign it a filter criteria, it matters little what it is…

Form & Views 4

…and you should have something that looks like this:

Form & Views 5

Next – set your newly created view as the default view for that entity. Notice that you STILL have two default public views for that entity:

Form & Views 6

Now you must publish the entity you’re working with:

Form & Views 7

Now, go into your new temp view to the “More Actions” menu and delete the view.

Form & Views 8

Finally, (very important) Publish your entity.

Now you should be able to go into your entity and set default views without ending up with multiple default views!

Happy CRM’ing…

MM
Microsoft CRM Consultant
Unitek Microsoft CRM Services

2 Responses to “Resolving Multiple Default Public Views In Microsoft CRM 4.0 Using A Supported Method”

  1. Matt Doltonon 02 Apr 2008 at 12:33 pm

    An excellent solution, thanks!

  2. Colinon 24 Apr 2008 at 10:17 pm

    Thanks this fixed my problem. The only issue I have was when I created my temp view I called it [000. junk] the to but it at the top of the list and it would not let me deleted it. I had to sent an other view as the default then delete this one and do it again this time with the temp view called [test] and everything worked as you said it would.

    Thanks again.

Trackback URI | Comments RSS

Leave a Reply