tags:

views:

20

answers:

0

My Folder structure in sharepoint is flat one. in the same level I have pages Home, Main Articles, Articles by Category, Article Content aspx pages.

A user can navigate like Home > Main Articles > Articles by Category > Article or Home > Main Articles > Article or Home > Article. I want user to see the breadcrumbs as shown above.

I created a web.sitemap xml file in my site definition as follows

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
        <siteMapNode url="Landing.aspx" title="Tips from the Top" description="The Tips from the Top Home Page">
        <siteMapNode url="MainArticles.aspx" title="All Articles" description="All Articles are available here">
    <siteMapNode url="ArticlesbyCategory.aspx" title="Articles by Category" description="Articles on selected category">
    <siteMapNode url="CurrentArticleContent.aspx" title="Article Content" description="Article of Interest" />
    </siteMapNode>
    <siteMapNode url="CurrentArticleContent.aspx" title="Article Content" description="Article of Interest" />
    </siteMapNode>
    <siteMapNode url="MainTips.aspx" title="All Business Tips" description="All Business Tips are available here">
    <siteMapNode url="TipsbyCategory.aspx" title="Tips by Category" description="Tips on selected category" />
    </siteMapNode>
    </siteMapNode>
</siteMap>

and also added a web.config file as

<siteMap defaultProvider="MapProvider">
    <providers>
    <add name="MapProvider" type="xyz.abc.SiteDefinition.MapProvider,xyz.abc.SiteDefinition"
        siteMapFile = "Web.Sitemap" />
    </providers>
</siteMap>