Tag Info

New answers tagged


In the feature xml you can specify the following property 'ActivateOnDefault' which allows you to set if you want to activate the feature by default or not. If you set this property to 'FALSE' your feature should not get activated when your sandbox solution is activated. You can specify this property in the feature xml as shown below: <Feature ...


This error occurs if you access quicklaunch while site is being created.Below code causes the feature activated code to wait until the site collection has been created before executing. using System.Threading; public override void FeatureActivated(SPFeatureReceiverProperties properties) { //Queues changes until after site exists. For use ...


you need to perform spWeb.update() for changes to be visible.

Top 50 recent answers are included