If you’ve got an existing page in each environment e.g. default.aspx and want to add a web part and promote to each environment what is the best approach?
- Create a WSP with a Feature Receiver and add to page via activation
- Create a WSP with a Feature and add a module with AllUserWebParts (requires deploying aspx page with it though)
- Manual export and import web part
- PowerShell script using SPLimitedWebPartManager