Thursday, August 5, 2010

How to Use Metadata Navigation in Enterprise Wiki Site (Sharepoint 2010)

If you want to use Metadata navigation tree in Enterprise Wiki Site, you have to do the following:

  • Activate Metadata Navigation and Filtering feature on site level


  • Navigate to Library settings page of your “Pages” library and select Metadata navigation settings
  • From “Configure Navigation Hierarchies” select “Wiki Categories” and click “Add” and “OK”


  • Navigate to Pages library again

http://<Your Wiki Site Url>/Pages/Forms/AllItems.aspx


But when you click on any of the pages on the right panel, the navigation tree will disappear. 


You have to change the EnterpriseWiki.aspx page layout or better to create and deploy a new one (via Sharepoint Designer or wsp)

You have to include a reference to MetadataNavTree control and put it in some placeholder (PlaceHolderLeftActions) on the page layout aspx file.

  • Put this markup in the beginning of the page

<%@ Register TagPrefix="wssuc" TagName="MetadataNavTree" src="~/_controltemplates/MetadataNavTree.ascx" %>

  • Put this code in the end of page’s code, after the next </asp:Content> tag

<asp:Content id="Content1" runat="server" contentplaceholderid="PlaceHolderLeftActions">

<wssuc:MetadataNavTree id="mdnt" runat="server" />


The result is:



How to Fix Sharepoint 2010 DCOM 10016 Error on Windows Server 2008 R2

If you get DCOM error 10016 in your event error, it means, that you have to configure local activation permissions of IIS WAMREG admin Service for your farm account.

Open Component Services/Computers/My Computer/DCOM Config/IIS WAMREG admin Service , Properties –> Security tab


Ooops … all controls are inactive?!?! The picture was different in WS 2003 and 2008, but in 2008 R2…. Smile

Open “regedit” and search for


Right click, “Permissions” and click “Advanced” button, open “Owner” tab


Select some of the listed names or browse for another user or group and finally click Apply


Now, you (or your group) can change the permissions for modification of the service

image image


After “OK”, try to reopen the “Component Services” console and open the properties window of IIS WAMREG admin Service. now the picture is a little bit different Smile