set of functionality that can be turned on at a particular scope level

learn more… | top users | synonyms

1
vote
2answers
2k views

How to remove Feature from site?

Someone in my company installed a test feature on a live site. Now I'm trying to clean up this test feature, and am not sure where all to look to get rid of the one feature that I have left. This is ...
1
vote
2answers
1k views

How to trace the ListAdded event for the entire SharePoint 2010 farm?

In our SharePoint 2010 environment, we want to enforce the users to choose the option "show user names in the survey list" (survey list) however there may be a time when user may choose "No" to this ...
1
vote
1answer
314 views

Sharepoint 2007 to Sharepoint 2010 Migration Issues

I recently migrated SharePoint 2007 portal to SharePoint 2010 using content database attach/detach method. After mounting the database in SharePoint 2010, site collection got created. When I browse ...
1
vote
2answers
7k views

Feature with Id 'guid' is not installed in this farm, and cannot be added to this scope

I have a WinForms project that acts as a Sharepoint 2013 Solution installer. It basically do some checking, create a sql database, adds and install a SP Solution and finally activates the feature. ...
1
vote
4answers
4k views

How to enable site collection feature by default when deploying a visual webpart from visual studio?

I am making a visual web part in SP 2010 using visual studio 2010. I want it so that when I add and deploy my wsp file, it should by default keep the site collection feature activated for the web ...
1
vote
2answers
120 views

Value retain when redeploy of SharePoint Timer Job

I have a very simple question on SharePoint 2010 Timer Job, I build by reference from here. Basically upon execute of the Timer Job, I add an entry to SharePoint Custom List as following: public ...
1
vote
2answers
499 views

Managing WebParts with dependencies on Web scoped Features

I have a Web scoped Feature which provisions a number of Content Types, List Templates & Instances, Custom Actions etc that enables a discrete set of functionality. I also have a number of ...
1
vote
2answers
2k views

Activating OOTB Features Fails

I have a Farm with multiple Site Collections. One of these Site Collections refuses to activate 4 specific Out-of-the-Box (OOTB) Features, namely: aebc918d-b20f-4a11-a1db-9ed84d79c87e ...
1
vote
4answers
1k views

How to embed a CQWP into a master page or DelegateControl

I'm looking for a way to embed a pre-configured Content Query Web Part into a master page. In short, I have a SharePoint:DelegateControl on the master page and I want to plug the web part into it by ...
1
vote
2answers
980 views

Creating site column without using features

I am trying to create a site column in VS2010 without using features. Is this possible? If yes, please let me know where I can start looking. I don't want to use feature because feature comes with ...
1
vote
2answers
1k views

Enable Team site for a publishing site?

How to enable team site for an existing publishing site?
1
vote
3answers
5k views

Error When Instantiating a Site Template in SharePoint 2010: “The site template requires that the feature {068bc832-4951-11dc-8314-0800200c9a66}…”

I gave a talk at the most recent BASPUG meeting about developing in the Middle Tier. I used a SharePoint 2010 site for the demos and would like to make it available to the folks who are interested in ...
1
vote
2answers
50 views

Can I extract a Solution (WSP File) from my site level?

We have a Feature located on one of our SharePoint sites how can I export this feature (wsp) so that I can import it into another site?
1
vote
1answer
470 views

Active then deactivate “SharePoint Server Publishing Infrastructure” inside my team site

i have a team site inside my SharePoint 2013. now i have enable the "SharePoint Server Publishing Infrastructure" from site Setting-->site collection features. which added the following libraries ...
1
vote
1answer
5k views

PowerShell code to add/remove, install/uninstall and enable/deactivate feature at Web, Site Collection, Web Application and Farm scope

Please can you give me the best practice PowerShell code to:- A. Add, install and enable feature at -Web -Site Collection -Web Application -Farm scope B. Deactivate, Uninstall and Remove ...
1
vote
3answers
496 views

Delete content type during feature dectivation

I want to delete content type programmatically on feature deactivation. I've wrote the code to perform deletion: SPSecurity.RunWithElevatedPrivileges(delegate() { using ...
1
vote
2answers
454 views

How can the deployment of a feature (or element) be made dependent on the SharePoint version (2010/2013)?

I have a solution (deployed in the Sandbox) that declaratively creates CustomActions (menu items). It works fine in SharePoint 2010 and 2013, but we don't like the look in 2013 so I'd like to exclude ...
1
vote
3answers
271 views

Add user control or web part to every page in a site

I want to have a feature which causes the following to happen everytime any page in a site loads. I need to have a web part or user control which adds information about the current user to the page. ...
1
vote
1answer
1k views

Hide a feature in Site Collection Administration => Features area

I have a feature with webparts that needs to be activated using powershell. I need a way to either hide the feature on the Site Collection Administration => Features (under Site Settings) or to ...
1
vote
2answers
452 views

How to add an workflow association to a list

I have a feature where I have create several items including lists and workflow. I want to add an workflow association to one of my lists. However I would like to refrain from using a code solution. ...
1
vote
2answers
705 views

Schema.XML not found in 12/Template/Features/myfeature

I am trying to create a custom list feature, what I did is created feature and then i build a solution out of it using this tutorial Creating a Solution file for Feature when it creates a .wsp ...
1
vote
1answer
91 views

Aggregate Content Types

What's the best way to support aggregate data structures using content types? For example, if I have an order processing system, then I might have data types like Order and OrderLineItem, where each ...
1
vote
2answers
305 views

What are some of the best practices around feature activation and their dependencies

Specifically what are the do's and dont's for installing, activating, deactivating and uninstalling a feature. What are the problem areas of working with features and how do you handle.
1
vote
1answer
390 views

VIsual Studio editing feature.xml

I am trying to create a a feature staple. To do this I need to create a feature and then edit the feature.xml to be like: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> ...
1
vote
1answer
241 views

WebDeleting Event for New Sites created ? ?

I am using the WebDeleting event which is based on features. Just activate the feature, and whenever a web is getting deleted, the event handler throws a message saying "Web can't be deleted". ...
1
vote
1answer
765 views

Feature 'a0f95442-e28c-41ff-afb0-c68341c014e7' for list template '108' is not installed in this farm

After uninstalling Enhanced Wiki 2.0 Beta, whenever I go to Site Actions -> Manage Content and Structure I get the following error. Reinstalling the feature resolves the problem, but after uninstall I ...
1
vote
1answer
30 views

Location for an Event Receiver on Visual Studio solution

I have a feature that deploys a site in a folder in the root of the parent site. When we want to uninstall this feature, the only way to remove the files it deploys is by programmaticaly remove them ...
1
vote
2answers
44 views

How to identify a solution vs a feature?

So I got this code left by a former colleague of a developed added functionality (I say "added functionality" because I'm really not sure what it is) for SharePoint 2013 (with a Project Server 2013 ...
1
vote
2answers
272 views

Exception: System.NullReferenceException: Object reference not set to an instance of an object

I recently uploaded a timer job that's purpose is to kick off a workflow on items in a custom List. Upon trying to activate it, I am immediately redirected to an error page with a Correlation ID. ...
1
vote
3answers
937 views

Getting feature ID by its name in sharePoint 2010 Powershell

I want to get Feature ID by using its name in sharepoint 2010. I have activated the feature on my root site collection using web interface. What is the management shell command for doing this in ...
1
vote
1answer
47 views

Provide a customer an upgradeable SharePoint solution containg content types, list templates and so on

currently I'm developing a SharePoint solution for a customer, which contains the following: A custom field type Two content types (one containing lookup fields to the list which is using the other ...
1
vote
1answer
62 views

Programatically identifing feature for activation

I have a requirement where a custom action is only added to the root site of the site collection. So planning to add two features one Site scoped and the other Web scoped. In the event receiver of a ...
1
vote
2answers
151 views

SharePoint Webpart Feature installation

Do I ever install the Feature in my SharePoint project manually, or is that handled when I install the solution? Am I only supposed to have one overall, or one per webpart?
1
vote
1answer
106 views

Hidden property of feature

If Is Hidden property on the feature designer is set to True then the feature wont appear in the list of features. Hence the feature is enabled, but cannot be disabled or uninstalled?
1
vote
2answers
41 views

Single feature management

I am having a situation where I need to manage single feature for multiple site collections in a farm environment. Situation is as described below. Assume, I will create 3 web applications and for ...
1
vote
1answer
311 views

Proper method of localizing aspx pages

I have a feature in which several aspx pages are deployed to the pages library of a 2010 environment. These are fairly standard aspx pages in that they are attaching to the default maser page, have ...
1
vote
2answers
544 views

“Feature has conflicting event reciever settings” error

I am new to SharePoint so I apologize if this is not phrased properly, but I created a BDC to a SQL database in Visual Studio 2012. I am trying to have the list created programmatically through an ...
1
vote
2answers
227 views

What user data or customizations will I lose if I deactivate and reactivate a site collection feature

I am having problems with my embedded SSRS reports (print button missing) and it claims that my Report Viewer web part is not configured correctly, or something along those lines. I was thinking of ...
1
vote
1answer
325 views

Easiest way to add a list instance with column in Feature

What is the easiest way to add a list instance (to the existing Custom/generic list) with one new column declaratively? Is there a way to do this without specifying anything extra (like specifying any ...
1
vote
3answers
173 views

How to remove safe a feature in SharePoint 2013?

I have a visual studio 2012 solution with some features. This is deployed on the production environment. Now I have removed one of the features from the VS solution. I created a new wsp file and ...
1
vote
1answer
355 views

Activate Content Organizer feature from code

how to activate content organizer feature from c# code or by powershell script. I want to activate this feature on my subsite from my code ?
1
vote
2answers
64 views

External “Asset Library”

Any idea if SharePoint has an extensibility point to add an external DAM store as a normal Asset source for images or other media files?
1
vote
1answer
2k views

Can't find WebApplication scoped feature

I've deployed a wsp that has 2 features. The one scoped at a web level is listed where I'd expect to see it and activates without a problem. The feature scoped at a web application can't be found ...
1
vote
2answers
2k views

List ribbon button disappeared

I have a problem with a List ribbon button that disappears. The only thing that has happend that I know of is that the wsp was redeployed and the site-feature (which creates the list) was reactivated. ...
1
vote
1answer
191 views

Is it possible to the change filenames of feature.xml and elements.xml on a sharepoint server?

Is it possible to the change filenames of feature.xml and elements.xml on a sharepoint server if so how?
1
vote
1answer
296 views

Look & Feel - Pagelayouts and Site Templates

I recently ran into a rather unfortunate assignment. It regards the selection of pagelayouts and sitetemplates which subsites should be able to use. As I'm supposed to change this for 20+ site ...
1
vote
1answer
122 views

How do I move lists from a site into a feature?

I created some custom lists (with content) on a site I'm using for prototyping. I want to make a feature (via Visual Studio) that automatically adds these lists (plus content) to any site the feature ...
1
vote
1answer
274 views

Publishing feature in Sharepoint 2010: Groups

Someone told me a while ago that it isn't recommended to delete the groups that are created when activating the publishing feature on sitecollection-level. Anyone who has an idea why? I'd like to keep ...
1
vote
1answer
748 views

Updating a feature images not updated

The systems team updated a feature for me. The feature added a new favicon and a new image. The new files added in my feature where not deployed to the style library. Existing files were updated. I ...
1
vote
3answers
2k views

Powershell Deployment - Enable-SPFeature Error

I get the following problem activating a feature in powershell: Enable-SPFeature : The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: ...