How To: Find All ContentByQuery Web Parts for a Farm?

Question: How to find all ContentByQuery web parts for a Farm?

Answer:

  1. Run this command: stsadm -o enumallwebs -includewebparts > D:\Data\enumwebs.txt
  2. Open up the enumwebs.txt file just created, and then search for “ContentByQueryWebPart” and take note of the URLs
  3. Open up IE, then navigate to each URL and add on ?Contents=1 to determine the title of the web part
  4. (Optional) Export the web part if you want to take a closer look

Leave a Reply

Your email address will not be published. Required fields are marked *