Breaking news from around the world
Get the Bing + MSN extension
The views and opinions expressed in this blog are those solely of the author(s) and do not necessarily reflect Microsoft’s current policy, position, or branding. For official announcements and guidance on Dynamics 365 apps and services, please visit the Microsoft Dynamics 365 Blog.
Answer forum questions for a chance to win prizesProviding verified answers in the community not only helps your colleagues find solutions, it also earns community members badges and spots on the Top 10 Leaderboards. Starting this month, your verified answers can help you earn a chance to win monthly prizes.
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
Have you ever had a situation where you have two default views for certain entity in Dynamics CRM (example Active Accounts and All Accounts)? Two Default Views? This not possible! What if I tell you that it is actually!
This happens when moving a solution from SandBox to Production Instance (perhaps including some improvements on Productions related to the Account entity).
The solution is quite simple but be very careful about what you are changing! Here are the steps.
NOTE: Do not include other entity metadata, because the solution file will contain information that you don't really need. Remember, we need only to remove a default view that the user interface (UI) doesn't allow us to do so.
2. Once the TWO DEFAULT VIEWS are added to the solution, you need to export it as Unmanaged.
3. Extract all solution files on your computer in a new folder.
4. Open solution.xml file with Notepad (i use Notepad ++ as the information is more easily readable, but this is a personal choice, standard Notepad tool will also do the work)
This is where you need to be very careful! You will see a lot of details about the solution (such as entities, views, etc.) As I previously say if you include only the views, this file will contain only that information so you don't need to overload the solution with components (views, fields, dashboards, etc.)
Search for the word isdefault there will be an opening <> and closing tag</> with a number in between. I know that my view IsCustomizable and CanBeDeleted, the second view however is a system default view, and I know that this cannot be deleted so it is easy to find which view value I need to modify.
5. Set isdefault to 0 and save the file. This is all that you need to do.
6. Zip all files that you've Extracted, back into a single solution (.zip) file.
7. Once the zip file is ready, you have to import it back to CRM.
8. Once the solution is successfully uploaded to CRM, you can confirm that you now have only one view set as Default, and the problem with the second one is fixed.
Business Applications communities