sharepoint-feature

SharePoint DelegateControl Render Order

I have two SharePoint features, each implemented identically (see below), that add controls to a delegate control in the header of my pages. One of the controls depends on the other (one is the jQuery library, and the other depends upon jQuery), however, when the controls are rendered, the order of the controls is incorrect. How do I s...

Files for use in Feature activation of a web application scoped feature SharePoint 2007

Hi Is it possible to access local system files in a feature activation event scoped at web application level? ...

Deploying SharePoint Event Receiver Assembly to Web Application BIN

Is it possible to successfully deploy an assembly containing event handlers for a custom SharePoint list feature (thus, classes that depend on the Microsoft.SharePoint assembly) to a web application's bin instead of the GAC? The option to do so certainly appears to be present in the XML markup in my feature's manifest.xml file. However...

SPFeatureReceiver FeatureActived not being executed when site is created

Hi, I have created a (staplee) feature that is stapled to a site template with a second feature as described in the blog post here. The idea is that when a site is created, my staplee feature will be activated and the code I have added to the FeatureActivated method will be fired and will create a new document library. The problem is th...

SharePoint Foundation 2010 solution cannot be deployed to SharePoint Server 2010

I have made a site in SharePoint Foundation 2010. I used team site as a starting template. I have saved it as my own custom template. Next, I have added that solution to SharePoint Server 2010. When I tried to create a new site in SharePoint Server 2010 based on it, I got an error that a feature is missing. Missing feature guid is e838...

What determines the priority between two solutions that provide the same set of fields in SharePoint 2007?

Running SharePoint 2007, WSS 3.0. Deployment is done using WSPBuilder 1.06. Question: I have two WSP solutions for two different levels of complexity in our SharePoint sites. One WSP has a feature ("C") that contains 2 sets of Fields. The other WSP has two separate features ("A" and "B") that reference those same sets of Fields with the...

Cannot enable feature with feature receiver via PowerShell

Hi guys, I've got a problem where I can enable a feature the UI and everything works as expected through site settings, but if I try and enable the feature via powershell (which we are doing as part of a scripted deployment), I get the following: Enable-SPFeature : Failed to create receiver object from assembly "xxxxx, Version=1...

How to efficiently deploy content types to a Content Type Hub

I have set up a Content Type Hub and tested the syndication is working correctly by creating a test content type and watching it be published to the client site. Then I deployed the content types I am actually interested in publishing to the hub (by way of a feature) along with the site columns they depend on. I get the error Content ...

How to uninstall a feature in sharepoint 2007?

I need to remove a feature completely from SharePoint with all its assemblies, folders and everything. I found that I can do this by SharePoint management shell, but I don't know how to find, open or download it! ...