Pergunta

Temos um conjunto de definições de site personalizadas, cerca de 12 no total, que compõe um grande aplicativo de intranet do SharePoint 2010 (cerca de 40.000 sub-sites) que foi implantado por alguns anos agora.

Uma dessas definições do site agora precisa de alguns ajustes.Ou seja, uma nova página adicionando a ele com algumas partes da Web pré-configuradas e inserindo uma nova peça na página de destino.

Eu entendo que posso criar um novo recurso para esta atualização e associá-lo à definição do site em questão, e tudo bem para novos sites sendo provisionados a partir desta definição do site, mas como faço para aplicar as mesmas alteraçõesOs 40.000 sites existentes, que também precisam da atualização?

Obrigado por qualquer assistência, Tony

Foi útil?

Solução

You could loop through all the existing sub-sites with a PowerShell script, and use the feature cmdlets to activate the feature on existing sites. Using this method you could also insert some logic/conditions to enable or not enable the new feature if that is useful.

Outras dicas

You need to develop what I call a "service pack" to deploy against the existing sites. In this case your service pack would contain a module with the site pages and any other resources that might be required.

If your solution is only adding new artifacts to the site, the process is pretty straightforward. If you are changing things like list structures, it's still doable but you might have to write some code to make that happen. For example, if you need to update the quick launch you'll have to write code in a Feature Receiver to add the new entries.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top