Pregunta

Me gustaría implementar una plantilla web que no tenga absolutamente ninguna dependencia con el sitio creado para que pueda retraer la solución de la plantilla web de la granja, y los sitios creados con él continuarán trabajando.

¿Cómo puedo asegurarme de que no haya dependencias entre el paquete de soluciones de la plantilla web y las colecciones del sitio creadas?

Estoy tratando de solo disposición del contenido: agregue un nuevo default.aspx (estoy creando la plantilla web de STS # 0), agregue una página maestra, agregue instancias de la lista y partes web.

¿Fue útil?

Solución

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 bajo: CC-BY-SA con atribución
scroll top