Forum Discussion
Project Server New List to Existing Project Workspaces
- Apr 13, 2023
Hello ASQ1979 ,
Unfortunately not, to push new lists / new views on existing lists etc. to existing project sites, you either need to do it manually or write the code to do it. You could look at the SharePoint PnP remote provisioning solution - it will still require code / custom solution: https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/pnp-remote-provisioning
Paul
Hello ASQ1979 ,
Unfortunately not, to push new lists / new views on existing lists etc. to existing project sites, you either need to do it manually or write the code to do it. You could look at the SharePoint PnP remote provisioning solution - it will still require code / custom solution: https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/pnp-remote-provisioning
Paul
- therealToomanyhatsApr 18, 2023Copper Contributorthe code can almost be No Code.
build the new list you want to distribute to many places
then use Central administration to create an exported.cmp of that list (content management/movement package Central admin uses Export-SPWeb)
A little bit of code(pseudo Powershell but this is a very simple loop based on a list or collection)
that represent the list of all subsites where you want to add the new list.
foreach( SPSite sps in (SPWeb)spw0)
{
Import-SPWeb -Identity "https:\\PWA.domain.com\" + sps.Name + "\" -Path <exported.cmp> [-Force] [-NoFileCompression] [-Verbose]
}