Domanda

Vorrei implementare un modello web che non ha assolutamente alcuna dipendenza dal sito creato in modo da poter ritrarre la soluzione del modello Web dall'azienda agricola, e i siti creati con esso continuerebbero a funzionare.

Come posso assicurarmi che non ci siano dipendenze tra il pacchetto di soluzioni modello Web e le raccolte del sito creato?

Sto cercando di fornire solo contenuti: aggiungi una nuova default.aspx (sto creando il modello Web da STS # 0), aggiungi una pagina master, aggiungi le istanze di elenco e le parti Web.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top