سؤال

أود نشر قالب ويب لا يحتوي على اعتماد على الإطلاق مع الموقع الذي تم إنشاؤه حتى أتمكن من التراجع عن حل قالب الويب من المزرعة، وستستمر المواقع التي تم إنشاؤها معها العمل.

كيف يمكنني التأكد من عدم وجود تبعيات بين حزمة حل قالب الويب ومجموعات المواقع التي تم إنشاؤها؟

أحاول فقط توفير المحتوى: أضف Default.aspx جديد (أخلق قالب الويب من STS # 0)، أضف صفحة رئيسية، إضافة مثيلات قائمة وأجزاء ويب.

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top