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.
-
Download the following files from Codeplex:
- David Jennaway’s Compiled “Hide System Views in CRM 4.0″ Plug-in here. Alternate here.
- Download the Plug-in Registration Tool from Codeplex found here. Alternate version as of this writing here. Installation should be easy, I installed it on my CRM server however a walkthrough is available in the ReadMe file in the zip download.
-
Install both parts items:
- Install the Plug-in registration tool
- Unzip the Plug-in (step 1a) into a folder, something like C:\(YOUR DESIRED PATH)\Plug-ins\HideSystemViews
-
Register the “Hide System Views in CRM 4.0″ Plug-in
- Open the Plug-in registration tool and connect to your CRM server
- Once connected select the “Register” button which opens another box, select “Register New Assembly“
- Within the registration tool select Step #1 and select the path to the “Hide System Views in CRM 4.0″ Plug-in you chose in my step 2b above.
- Within the registration tool Step #2 you should see the Plug-in with a check box to its left.
- Within the registration tool Step #3 I chose “Database” (not based on any reason other that I like databases)
- Within the registration tool click the button at the bottom “Register Selected Plug-ins”
-
It should look like this

-
If you noticed when you downloaded the compiled plug-in there is a XML files called SampleConfig.xml, this is the excellent method David J. used to tell the plug-in what Views to hide!
- The key here is that your specifying the entity otc number as in <entity otc=”1″>, the “1″ representing the “Account” entity. If you need to hide the view for other items you can get the otc# from your servers SDK by connecting to http:/<crmserver>/sdk/list.aspx and clicking the
button for the entity in question. Adjust your xml as necessary then proceed.
- The key here is that your specifying the entity otc number as in <entity otc=”1″>, the “1″ representing the “Account” entity. If you need to hide the view for other items you can get the otc# from your servers SDK by connecting to http:/<crmserver>/sdk/list.aspx and clicking the
<?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>
- Select/Highlight the (Assmbly) Plug-inHideSystemView node
- Select the “Register” button you used above in my step 3b.
- This time select “Register New Step”
-
Fill out the form as follows:
- Message: RetreiveMultiple
- Primary Entity: savedquery
- Event Pipeline Stage of Execution: Post Stage
- Execution Mode: Synchronous
Note: the other options can be changes per your wishes…
- Enter your adjusted XML into the top right pane “Unsecured Configuration (like the SampleConfig.xm file)
- Click Update
-
It should look like this

- Add a step with that looks just like this screen shot:
-
Now the magic, if you noticed when you downloaded the compiled plug-in there is a XML files called SampleConfig.xml, this is the excellent method David J. used to tell the plug-in what Views to hide!
-
The key here is that your specifying the entity otc number as in <entity otc=”1″>, the “1″ representing the “Account” entity. If you need to hide the view for other items you can get the otc# from your servers SDK by connecting to http:/<crmserver>/sdk/list.aspx and clicking the
button for the entity in question. You final Step should look something like this!
- Verify and your done, your client is happy and you are happier than I was when I needed to use this great plug-in!
-
- Alternate method below! I have not done this one!
Continue reading Hiding System Views CRM 4.0 – David Jennaway’s Codeplex Plug-in



