Frage

Ich möchte eine Webvorlage bereitstellen, die absolut keine Abhängigkeit mit der erstellten Site hat, damit ich die Web-Templat-Lösung von der Farm zurückziehen kann, und die mit ihm erstellten Websites funktionieren weiterhin.

Wie kann ich sicherstellen, dass es keine Abhängigkeiten zwischen dem Web-Templat-Lösungspaket und den erstellten Site-Sammlungen gibt?

Ich versuche, nur einen Provisionsinhalt zu erzielen: Fügen Sie einen neuen Standard-Default.aspx hinzu (ich erwerfe die Webvorlage von STS # 0), fügen Sie eine Masterseite hinzu, fügen Sie List-Instanzen und Webteile hinzu.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit sharepoint.stackexchange
scroll top