Questions tagged [sharepoint-feature]

Microsoft provides lots of features in their Sharepoint product, such as Excel Services, Access Services, InfoPath Forms Services, User Profile Service, Search Services, Business Connectivity Services, PerformancePoint Services etc.

31 questions
6
votes
1 answer

how do I prevent VS2010 from auto-adding new SharePoint modules to a random feature

I have a rather large SharePoint project in Visual Studio 2010 with a number of features in it. Every time I add a new module or empty element to the project, Visual Studio seems to randomly choose a feature to add it to, which I totally…
Dennis George
  • 1,495
  • 2
  • 10
  • 18
5
votes
3 answers

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…
David Culp
  • 5,354
  • 3
  • 24
  • 32
5
votes
5 answers

Cannot enable feature with feature receiver via PowerShell

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 the Sharepoint powershell (which we are doing as part of a scripted deployment), I get the…
Henry C
  • 4,781
  • 4
  • 43
  • 83
4
votes
3 answers

Visual Studio deployment doesn't activate SharePoint feature

I have a simple SharePoint project with one farm-scoped feature. The feature contains no modules; it just refers to an SPClaimProviderFeatureReceiver-derived class which in turn points to an SPClaimProvider-derived class. When I tell the project to…
3
votes
3 answers

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),…
Kyle Trauberman
  • 25,414
  • 13
  • 85
  • 121
3
votes
1 answer

SharePoint - CustomAction isn't showing on toolbar for a content type

I've created a feature with a content type: I want to create custom actions for this content type. This works on the ECB (the…
Kobi
  • 135,331
  • 41
  • 252
  • 292
3
votes
3 answers

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…
antik
  • 5,282
  • 1
  • 34
  • 47
2
votes
1 answer

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!
Ahmad Farid
  • 14,398
  • 45
  • 96
  • 136
2
votes
1 answer

VS2013 cannot add item to package

I'm using VS2013 to development and maintain a couple of SP2013 projects. However, I think somehow I managed to corrupt one of the projects. When I go to the "Package.package" designer, I see only (mapped SP) folders in there (it should also include…
2
votes
1 answer

Modifying sharepoint edit dialog

I have successfully created a feature in sharepoint that modifies the existing edit dialog and adds a custom button to it like this. and I am aware that I can pass back data when the user clicks the custom button like this.
2
votes
1 answer

Stapling Feature - Publishing Infrestructure in blank site results in no left menu bar

I Have created a stapling feature so i can activate the publishing infraestructure feature by default on new blank site. It does work as expected, the only problem is that the new created site, does not have the left menu visible, and there is no…
Luis
  • 5,979
  • 2
  • 31
  • 51
1
vote
1 answer

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…
Boris
  • 9,986
  • 34
  • 110
  • 147
1
vote
1 answer

How to fix SPFeatureDefinition does not contain a definition for RootDirectory

I'm very new to SharePoint development, and I'm just trying to add an XML file to a Feature to reference the XML file content in the feature Event Receiver. It seems that the general recommendation is to use do so like in this SO question: How to…
1
vote
1 answer

SharePoint Feature retract kills application pool

Earlier this week the solution designer in my company recently issued a challenge to all developers to find a bug in some code that he wrote. What happened was the build admins retracted his solution package from SharePoint when something went wrong…
1
vote
1 answer

Sharepoint web feature show not activated in mange site feature page

I am activating the web feature through code web.Features.Add(new Guid("e03a943d-9a68-48cf-9a42-cb65be8fc4fb")); The feature code is completed the execution but in the manage site feature page the feature show like not activated. What is reason for…
Ayyappan Anbalagan
  • 11,022
  • 17
  • 64
  • 94
1
2 3