Hi,
I have a CRM client with the pockets to polish the applications to their needs. I, being the semi coder that I am and having little experience with plug-ins searched high and low for a tool to hide the annoying system views that cannot be removed from CRM 4.0. By pur chance I am certain the CRM team does not allow CRM 4.0 system views to be unshared as could be done in 3.0.
After locating a few other posts out there in the web I stumbled across the “lightly documented” Codeplex Plug-in by David Jennaway completed with source code and compiled code. After annoying the MS Forums (Even David himself jumped in) looking for help I finally got it working and decided to give back by giving some instructions as to the configuration of this Plug-in.
Let’s begin…
What makes David Jennaway’s plug-in simply amazing is that it can handle just about any system view you throw at it because a non coder doesn’t have to configure it with much more than the actual view name. From beginning to end here is how to to get this plug-in working on your CRM server.

button for the entity in question. Adjust your xml as necessary then proceed.<?xml version="1.0" encoding="utf-8" ?> <entities> <!- Sample configuration data. Entities are identified by the otc attribute, and views by name --> <entity otc="1"> <view>Inactive Accounts</view> <view>Accounts: No Orders in Last 6 Months</view> </entity> <entity otc="4"> <view>Leads Opened Last Week</view> <view>Leads Opened This Week</view> </entity> </entities>
Note: the other options can be changes per your wishes…

button for the entity in question. You final Step should look something like this!
An alternate method by Jeremy Hofmann with Crowe Horwath that does not even require any Plug-ins is updating the CRM SQL Database, this is obviously unsupported but details can be found here.
This post describes a customization to CRM 4.0 which is not a supported by Microsoft, Crowe or me but something I needed to find a solution to given a client request. Please take this into account before attempting to make this change as in most situations you never want to update the CRM database tables directly. This may cause problems with upgrades and future releases. However, there are times when your users will demand a system change and you may be forced to take a bit of technical leap to make them happy.
Hiding system views in CRM 4.0 is one such area. For example, your implementation may not use the Marketing Campaign entities, and you wish to hide the “Contacts: No Campaign Activities in Last 3 Months” system view.
While there isn’t a clean way to do this currently using the standard configuration UI, you can force a system view to become a private view through a bit of direct database magic:
1. Navigate to the system view.
2. Make a change to the view, such as switching the column order. This will create a new record in the SavedQuery base table with the CustomizationLevel = 1. Customization = 0 records should never be touched since these are shared across mult-tenant organizations.
3. Publish the entity.
4. Find the view in the SavedQueryBase table. There may be several entries, so use the view with the CustomizationLevel equal to 1 that was created earlier.
5. Update the record and set the IsPrivate flag to 1.
UPDATE SavedQueryBase SET IsPrivate = 1 WHERE [Name] = 'Contacts: No Campaign Activities in Last 3 Months' AND CustomizationLevel = 1

Categories
Tag Cloud
Blog RSS
Comments RSS
Last 50 Posts
Back
Void « Default
Life
Earth
Wind
Water
Fire
Light 