I'm trying to analyse how an existing MOSS 2007 publishing site is composed but I don't see any obvious way of identifying the type of the various web parts already in use within pages. Is there any way of telling definitively?
|
You can add |
|||
|
|
|
Are you an author on the page? You can export a Web Part and look at the XML to see what object it references. If you're trying to figure it out using the rendered source, that's not 100% reliable... well built Web Parts don't exactly add markup/code to advertise what they are as that adds unnecessary markup to the page weight. For publishing sites (specifically the content regions), if they were done the right way, they used field controls and not Web Parts. |
|||
|
|
In case anyone's interested I came up with the following solution based on the http://spservices.codeplex.com/ jQuery library, before seeing Kit's rather more straight forward approach in the accepted answer. Still, might be of some use one day:
|
|||
|
|