R – How to programmatically get associated webparts of sharepoint list

asp.netmossnetsharepointwss

Using SPList I want to get all the webpart urls that associated with the list.
Is it possible?

Best Answer

The only way this would be possible is to loop through all pages in all SPWeb's, then get each page's webpartmanager reference, then loop through all webparts and check the properties of the webpart.