http://tihomirignatov.blogspot.com/2010/08/how-to-use-metadata-navigation-in.html
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 settingsFrom “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" />
</asp:Content>
The result is:
阅读全文类别:moss技术 查看评论