سؤال

لدينا مجموعة من تعريفات المواقع المخصصة، حوالي 12 في المجموع، والتي تشكل تطبيقا كبيرا من شارع 2010 إنترانت (حوالي 40،000 موقع فرعي) تم نشره لبضع سنوات الآن.

واحد من تعريفات الموقع هذه تحتاج الآن بعض القرص.وهي صفحة جديدة تضيفها مع بعض أجزاء الويب التي تم تكوينها مسبقا، وإدخال جزء ويب جديد في صفحة الهبوط.

أنا أفهم أنني أستطيع إنشاء ميزة جديدة لهذا التحديث، وربطها بتعريف الموقع في السؤال، وهذا كله غرامة للمواقع الجديدة التي يتم توفيرها من تعريف الموقع هذا، ولكن كيف يمكنني تطبيق نفس التغييرات علىمواقع 40،000 الحالية، والتي تحتاج أيضا إلى التحديث؟

شكرا لأية مساعدة، توني

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

المحلول

You could loop through all the existing sub-sites with a PowerShell script, and use the feature cmdlets to activate the feature on existing sites. Using this method you could also insert some logic/conditions to enable or not enable the new feature if that is useful.

نصائح أخرى

You need to develop what I call a "service pack" to deploy against the existing sites. In this case your service pack would contain a module with the site pages and any other resources that might be required.

If your solution is only adding new artifacts to the site, the process is pretty straightforward. If you are changing things like list structures, it's still doable but you might have to write some code to make that happen. For example, if you need to update the quick launch you'll have to write code in a Feature Receiver to add the new entries.

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