Forum Discussion
Project Server New List to Existing Project Workspaces
Hi,
We have on premise Microsoft Project Server 2016, is it possible to create a new custom list for a project site template, yet push out to all existing project sites without having to manually add it individually, and without some PowerShell script?
Many thanks
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
- ASQ1979Copper ContributorThank you, Paul. Confirmed what I suspected but good to have confirmation all the same. Appreciate the response.
- therealToomanyhatsCopper 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]
}