Hello,
How to insert 10 webparts into multiple pages at a time automatically(not manual). Can anyone please help me how to do this?
Hey Prasad,
as mentioned in the previous comments, SPLimitedWebPartManager class need to be used to work with web parts on the page either through powershell or C#.
Thanks
Sreeharsha.
See http://prashamsabadra.blogspot.co.uk/2012/11/adding-web-part-on-pages-using.html for a powershell starter.
You can use powershell to add webpart in sharepoint pages. You can write a function in powershell script and pass teo parameters like page url and the webpart name . You need to have your webpart file in a location from where you need to read the webpart in the powershell script .
Prasad the only way to do this is to do it programmatically.Â
Check the helper methods in this helper class :Â http://saf.codeplex.com/SourceControl/latest#788042. you can probably achieve this with Powershell as well using the same classes.