Pergunta

Eu gostaria de implantar um modelo Web que não tem absolutamente nenhuma dependência com o site criado para que eu possa retrair a solução de modelos da Web da fazenda, e os sites criados continuariam funcionando.

Como posso garantir que não haja dependências entre o pacote de soluções de modelo da Web e as coleções de site criadas?

Eu estou tentando apenas provisionar conteúdo: adicione um novo default.aspx (estou criando o modelo da Web da STS # 0), adicione uma página mestra, adicionar instâncias de lista e web partes.

Foi útil?

Solução

When you create a site using a Web Template there is no dependency from that site to the Web Template that created it, that's one of the major differences between Site Templates and Web Templates.

BUT the Web Template may use custom features which then create a dependency between the Site and the solution(s) containing these features. These dependencies may come from the fact that the features contains <Module> elements which provisions files and the site then becomes dependent on these files existing in the file system as long as the files are uncustomized or they may contain List definitions.

If you want a custom page and master page, but with no dependency to the feature, then you have to create the page and master page using code.

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