开发者

Filtering SharePoint SiteMapDatasource

开发者 https://www.devze.com 2023-02-11 12:58 出处:网络
I\'m using a SiteMapDatasource in a tree view to display a simple hierarchical site map.I need to filter this map so that it only shows links to sites and sub sites, and not any li开发者_StackOverflow

I'm using a SiteMapDatasource in a tree view to display a simple hierarchical site map. I need to filter this map so that it only shows links to sites and sub sites, and not any li开发者_StackOverflow中文版nks to things like lists, document libraries, etc.

thanks!


Without knowing more about your situation, would it be possible (assuming these are XML type data structures) to use some kind of XPATH query to pull and filter information? Perhaps you can transform it via XSLT? If you can post what things look like, it might help to give a little more insight.

There is always, the possibility of using LINQ on the data source...

0

精彩评论

暂无评论...
验证码 换一张
取 消