Unanswered List Instance not deployed on Feature Activation

  • Friday, May 11, 2012 8:12 PM
     
     

    I have a solution that includes a Timer Job, ULS Logging, and a List Feature.  All 3 "activate" just fine.  The Timer Job is created, the ULS Logging area is created, but the List Feature, while Activated on Solution deployment, doesn't create the Content Types or List Instances.  I can't find anything in the ULS logs as to why it doesn't create the List Instances.  Another feature, an Application Page, on the List Feature is deployed and created just fine within Central Administration.

    If I deactivate my List Feature and reactivated (scope is Web), the List Instances are created like I'd expect them to be.  Any ideas on why the List Instances wouldn't be created on Feature Deployment?  I have an Event Receiver for the List Feature, but have only coded the FeatureDeactivating and FeatureUninstalling methods.  I'm trying to use the XML no-code style of Feature Activation for this particular Feature.  I'm not opposed to using a coded FeatureActivation method, I just haven't found any good tutorials on deploying my Content Type, List Def, and List Instances.

    EDIT: On initial activation of the List Feature, the Custom Content Types are also created, so it looks like it comes down to the List Instances are the only things not being created.


    http://sharepoint.nauplius.net



All Replies

  • Monday, May 14, 2012 2:02 PM
     
     
    Still having issues with this.

    http://sharepoint.nauplius.net