As the question says – is there a way to determine which pages are including my web part?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re looking for code, I’ve got something for you. If you’d like to find all Content Query web parts then you would call my code like this:
Here’s the code:
Ofcourse you can make little changes to this code. Currently it does a string comparison, but it’s easy to do it in a more typed way. Have fun!