开发者

Web part in only Document Library pages

开发者 https://www.devze.com 2023-02-08 04:16 出处:网络
I\'ve built a web part for SharePoint 2010. Using SharePoint Designer I\'ve got it to work on every page within the site, but then I realized that I only want it to work when users navigate document

I've built a web part for SharePoint 2010.

Using SharePoint Designer I've got it to work on every page within the site, but then I realized that I only want it to work when users navigate document libraries.

Is there any way t开发者_C百科o do that? If not, how can I check that condition from the web part?


Using SharePoint Designer I've got it to work on every page within the site

Does this mean you have embedded it in the master page?

A quick and dirty way; you could check the url for /Forms/ and only show it then.

0

精彩评论

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