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

learn more… | top users | synonyms

0
votes
1answer
182 views

Versioning and upgrading features with SharePoint 2010 [closed]

I've been experimenting with feature version-ing and upgrading in Sharepoint 2010 and found a bunch of blogs, documentations etc. but it is still not very clear to me. How does Sharepoint store the ...
2
votes
1answer
2k views

How to handle 'Feature for list template is not installed in this farm' for custom lists

I have a feature in which I have a custom ListDefinition. Within the definition, I also have a ListInstance based off of the definition. When installing and activating the feature, these lists are ...
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
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: ...
0
votes
1answer
352 views

Enable-SPFeature CmdLet Not Creating Lists Defined In Feature

I have written a PowerShell script to mimic Visual Studio's Deploy command. Specifically, I need the lists defined in a Feature to be deleted, the solution updated and the Feature activated with blank ...
1
vote
3answers
605 views

Reading the Feature.xml or Elements.xml file that has been installed to sharepoint

Reading the Feature.xml or Elements.xml file that has been installed to sharepoint What I want is to be able to see what has been installed to sharePoint, not what is on the hard drive in the ...
2
votes
0answers
280 views

Why does WSP Deployment Type 'ApplicationServer' require features to be manually installed?

When I create a WSP with Deployment Type set to WebFrontEnd and deploy, all of the features contained within are automatically installed. Features that are set up as ActivateOnDefault="TRUE" (Farm or ...
2
votes
2answers
265 views

Deleting Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows

how delete Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows.
1
vote
2answers
88 views

Extending features functionnalities?

Features in SP allow us to perform a limited set of operations. Fortunately, Microsoft created the feature receiver class to allow us to perform additional operations. However, in a more ...
2
votes
0answers
264 views

How to customize Feature image for a SharePoint 2010 Sandbox solution? [duplicate]

Possible Duplicate: Own Feature-Icon in Sandbox Solutions Ok, as usual, after searching for a solution on the rest of the net, here I am on StackExchange :) How can I stuff a PNG image in ...
1
vote
1answer
179 views

Stapled Web-scoped feature depending on Site-scoped feature: possible?

I have three features in a solution: A Web-scoped feature (A): has a FeatureActivated call to set up a site A Site-scoped feature (B): contains web parts A uses A stapling feature (C): staples A to ...
0
votes
2answers
321 views

how to remove pagelayout while deactivating the feature

I am facing an issue regarding deactivating a feature which is having some page layouts. I am removing the page layout from the folder. Here comes the problem, when I am trying to delete a page ...
1
vote
1answer
553 views

Unable to delete group without being site collection administrator

I have a Sharepoint Group (SPGroup1) whose owner is User1. User1 has full control over the root web site (and all its sub-sites), however it is not a site collection administrator. When I log in as ...
0
votes
2answers
321 views

How to remove the unwanted parent content type site column from the custom list definition

I managed to create a custom contenttype(based on the item contenttype) using the feature with five site columns. Defined a list definition based on my above custom contenttype. All of custom ...
1
vote
2answers
677 views

Features listed in ManageFeatures.aspx that should not be there

I go to ManageFeatures.aspx and I see bunch of features that don't belong there and they are not in the 14 hive's feature folders. I go to the backend database and look in alldocs, features, and ...
4
votes
2answers
5k views

How to remove orphaned features

I found some orphaned features under "_layouts/ManageFeatures.aspx?Scope=Site" but they do not show up when I list them up with powershell (get-spgetfeature -site url). They are not in 14 hive and ...
1
vote
2answers
710 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
3answers
935 views

Locate a FEATURE on SharePoint root

If I want to know elements of a particular FEATURE (any scope) before I hit the Activate button, I need to locate the FEATURE on SharePoint root. I want to know what's the best way to locate the ...
4
votes
1answer
158 views

Feature Scope Problem

I am having an heck of a time trying to get two separately scoped solutions to work together. The first solution is scoped for Farm and does nothing more than add a custom SPDiagnosticService. When ...
1
vote
2answers
324 views

Delegate control appending to page while feature is deactivated

I have a delegate control that is appending to the AdditionalPageHead. This delegate control is appending a custom class of mine that inherits from Control. It runs some logic, and when appropriate, ...
1
vote
1answer
431 views

How to create Menu Webpart in WSPBuilder

I am using WSPBuilder. I want to create the package that includes the MenuItemList and MenuWebpart. Requirement is create the feature for MenuItemList which holds the menu items. Webpart should fetch ...
1
vote
1answer
888 views

sharepoint 2010 - get name of custom site template

How to get the complete name of the feature [see last 2 name , basically they are custom created templates] Can i change the name which is basically the feature id with the custom name ?
4
votes
1answer
6k views

Sharepoint 2010 - Deploy webpart as Feature scope = web

I want to create and deploy a web part as web-scoped feature. In Visual Studio 2010, when I make the feature scope=web, I cannot add the webpart to that feature as I am able to do when scope=site.
2
votes
2answers
789 views

Error activating feature

I have created a solution package for Sharepoint 2007 and have installed and deployed it on a development server. However, when I go to activate it through Site Features, I'm given a lovely page of ...
3
votes
1answer
654 views

Error deploying WSP package

Error: Cannot find this file specified in the manifest file: ChangeContentTypeEventHandler.dll I'm getting this error when attempting to deploy this solution to the Sharepoint environment. Here is ...
2
votes
1answer
177 views

character problem in webpart title after exporting a site

After i have creat a site collection (in french), i save it as a model, open it in Visual studio, change the scope of a feature, package it and deploy it on the farm and create a new site collection ...
2
votes
2answers
2k views

Programatically add a content type to a document library

I have an event-handler feature that changes the content type of an item when it is added to a document library, however this will only work if the content type is allowed for that document library. ...
3
votes
2answers
353 views

Can't make a new instance of a custom document library

I am following the instructions of Cory Roth on how to create a custom document library in 2010 which can be found here ...
2
votes
3answers
324 views

Sharepoint feature still running after being uninstalled, files removed, IIS restarted

I had created a feature that changes the content type of a folder when it is created, which works fine. However, I wanted to make a change to it by adding another folder for it to work in but after ...
6
votes
1answer
791 views

Problem Extending SPDiagnosticsServiceBase

I am trying to create a feature that Extends the SPDiagnosticServicesBase class following the code described in MSDN That article has example code for extending the SPDiagnosticServicesBase class ...
4
votes
1answer
621 views

Including Description with Page Layout

I'm deploying a couple of custom page layouts as part of a feature for SharePoint 2010, and am having issues including the description with the page layout. I'm looking to include descriptive text as ...
1
vote
2answers
379 views

Add custom properties to 'Edit Mode' in publishing site - Create as wsp

I have 2 custom fields that are associated to the publishing features Page content type. While looking at the page, in the ribbon, I can click on Edit Properties to view all of the properties of my ...
1
vote
2answers
855 views

How to order a group of web parts added dynamically?

Preface: I did not come up with this implementation, just dealing with it. I have a web part zone that gets 3 content editor web parts loaded into it dynamically through the feature receiver. The ...
3
votes
3answers
2k views

Unable to modify SPWebApplication properties from feature receiver - Access Denied

The scope of the feature is Web. SPWeb site = (SPWeb)properties.Feature.Parent; site.AllowUnsafeUpdates = true; // Set the Web Application's default error page SPSite siteCollection = new ...
6
votes
4answers
345 views

What is the recommend way to share a single element between multiple features?

In my Visual Studio 2010 SharePoint Project I have a single SPItemEventReceiver that is contained in its own Elements.xml I have 2 site collection features that are mutually exclusive they are never ...
4
votes
1answer
4k views

The field with Id [GUID] defined in feature [GUID] was found in the current site collection or in a subsite

I have a farm solution with a single feature that has a bunch of site columns and a content type. The content type does inherit from Enterprise Wiki Page, but the feature has an activation dependency ...
3
votes
1answer
2k views

Deploying a custom page under the Layout folder using a Feature

I have customized the "EditProfile.aspx" page and want to deploy it on the QA using a Feature, is it possible to deploy a page under the "_Layouts" folder using feature. Tried with the below Feature ...
6
votes
4answers
2k views

How to customize Feature image for a sandbox solution?

I'd like to add my own icon graphic to a feature. I found out that the ImageUrl attribute in the feature.xml definition points to the /_layouts/IMAGES folder which is out of scope for sandboxed ...
5
votes
5answers
2k views

Include JavaScript in a feature

I remember seeing somewhere that you can include an external JavaScript file in a SharePoint feature if it is in the _layouts folder. For the life of me I can't remember how to do this!
1
vote
2answers
802 views

Enable Team site for a publishing site?

How to enable team site for an existing publishing site?
12
votes
3answers
7k views

How do I find in which (sub)sites a WebPart/Feature is used?

I need to find out on which (sub)sites a certain webpart is used. In a data sharing environment with many subsites and pages, I want to check if and where certain (third party) webparts are used. Is ...
3
votes
3answers
1k views

Moving BDC models from server to server

I have created a BDC model and deploy it through a feature. The feature has to have a SiteUrl as specified in the feature xml below. However when I move the feature from say the development to test, ...
1
vote
0answers
190 views

featureactivated is not firing [duplicate]

Possible Duplicate: Is feature activation code allowed in Web Template Project? I am working on web template (aka site template). It a farm level solution so vs 2010 automatically added a ...
4
votes
2answers
7k views

The site template requires that the Feature {GUID} be installed in the farm or site collection

I thought Microsoft did a good job documenting sp2010. I am so frustrated that I can't find anything related to this. I have a web template project. All I want is to run bunch of code when a web is ...
5
votes
4answers
2k views

Is feature activation code allowed in Web Template Project?

I created a empty project added module copy onet.xml and default.aspx from layout/template/sts directory to my project and added to my project Ran F-5 to debug and it seems to be working Now I need ...
2
votes
3answers
4k views

Can I activate the Sharepoint Server publishing Infrastructure feature at the site collection level within a sandbox solution?

I have this code which works in a farm solution, but not in a sandbox solution. Is it possible to do this with a sandbox solution? The table in this link ...
2
votes
1answer
225 views

Why am I getting issues with a WSP imported into Visual Studio?

I imported a WSP (site template) in VS 2010 and compiled. I then tried to create a package (build > package). I am getting all sorts of issues. Why is that? The site templated was created using an ...
3
votes
3answers
3k views

Activating Publishing Feature breaks because of custom Master?

This issue is related to this post. I get an error message when the publishing feature is activated on sites of certain types. This means that I also get an error message when I create certain sites ...
2
votes
2answers
955 views

Can't activate Publishing Feature

On some sites I get the following error when trying to activate the publishing feature. Event log message was: 'Failed to initialize some site properties for Web at Url: 'http://intranet/social'. ...
3
votes
1answer
482 views

Deploy an image in a feature

I am creating a feature which adds an option to the ECB. I want to have a custom icon/image. In my Visual Studio 2010 project I have created a TEMPLATE/IMAGES/proj folders. I have added my image to ...