-1

A tool (SharePoint.Admin) has been written to catalog all the web parts used within Connect.

The tool fails when enumerating the Team Sites collection because of an error with the Longitude Web Parts on a Team Site.

Unfortunately the error is fatal and cannot be caught.

This is required to aid the SharePoint Migration project as it is vital to note all the web parts used in the 2007 environment.

We have 'n' of sites under connect intranet sites.

How do I find the sites using Longitude Web Parts in Team Sites

Cœur
  • 37,241
  • 25
  • 195
  • 267
priya
  • 1
  • 1

1 Answers1

0

You can use a small script to get all instances of a particular WebPart on all sites:

Sharepoint: how can i find all the pages that host a particular web part?

There is no easier way, you need to instantiate SPLimitedWebPartManager for each page you have and look for your particular webpart on that page. You only have to extend the method to not query one SPSite but all your required sites and web applications.

Community
  • 1
  • 1
Dennis G
  • 21,405
  • 19
  • 96
  • 133