I have defined feature with event receivers for my document library and for users List .
I try to activate my feature in onet.xml in section <WebFeatures>. After provisioning a new site from onet.xml all work fine and my feature is shown as activated, but event receivers doesn't fire. It fires only after reactivating my feature (deactivate,
then activate it again). But I need my feature works immediately after site provisioning without deactivating and activating it again. Who knows how to solve this problem?
part of ONET.xml
<!-- TeamCollab Feature -->
<!-- MobilityRedirect -->
<!--My EventReceivers Feature-->
<Feature ID ="41178843-A6A4-47c7-9EF9-B8A432E02B88"></Feature>
View Complete Post