How To: Find All ContentByQuery Web Parts for a Farm?
Michael Carey
- One minute read - 72 wordsQuestion: How to find all ContentByQuery web parts for a Farm?
Answer:
-
Run this command: stsadm -o enumallwebs -includewebparts > D:\Data\enumwebs.txt
-
Open up the enumwebs.txt file just created, and then search for “ContentByQueryWebPart” and take note of the URLs
-
Open up IE, then navigate to each URL and add on ?Contents=1 to determine the title of the web part
-
(Optional) Export the web part if you want to take a closer look