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

learn more… | top users | synonyms

1
vote
3answers
237 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
votes
2answers
427 views

Overwrite a dll in the GAC to avoid installing the whole feature

Is it possible to overwrite 1 dll in the GAC of a live server of my customer? Otherwise I need to install the whole feature. In this feature are very much webparts and other stuff.
1
vote
3answers
1k views

Uninstall Site Collection Features not found error. What's the physical path for them?

I want to uninstall some features of the site collection on my server. These features are on my site collection and of site or web scope. On the Sharepoint "Site Settings" -> "Manage site features" ...
1
vote
1answer
818 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 ...
2
votes
1answer
115 views

How to activate content type on specific web?

I have site collection ex: http://microsoft.com/ and i got few child webs: http://microsoft.com/news/ http://microsoft.com/somethingelse/ <Elements ...
1
vote
3answers
446 views

applicationSettings ignored in web.config

I've written a feature assembly that includes an SPFeatureReceiver. I can successfully deploy the feature's WSP, the assembly goes to the GAC, and the feature (mostly) does what it's supposed to. ...
1
vote
0answers
129 views

Missing Features and Existing Lists

I have a site that was hosted on a Microsoft Project Server instance. One of the sub-sites was based on the Project Workspace Template in order to get access to the "special" lists like Risks and ...
0
votes
1answer
95 views

Add custom code for solution upgrade

I have a solution for SP2010. Let's call it s.wsp. I had version 1 of s.wsp and now I have version 2 of s.wsp. Versions 1 and 2 share three common features: A, B and C. Version 2 adds a new feature D. ...
1
vote
2answers
865 views

Content deployment error; feature not installed

The business had a wish to copy content from production to acceptation (publishing environment). So I created a content deployment job to do so, and ran it. It failed with the following error: ...
2
votes
2answers
465 views

How to use one page layout for few content types

I have elements.xml with module: <Elements> <Module Name="IntranetNewsPageLayout" Url="_catalogs/masterpage"> <File Path="IntranetNewsPageLayout\IntranetNewsPageLayout.aspx" ...
3
votes
1answer
202 views

Update SPList.TemplateFeatureId

I need to update the TemplateFeatureId for a couple of lists in our SharePoint 2010 installation. The current TemplateFeatureId points to a feature that is no longer installed in the farm. Both ...
2
votes
1answer
118 views

Feature with List and registration form

I am new to SharePoint and want to discuss an issue I want to create a feature that will create custom application page (registration form) and a custom list to store registration form's data. I can ...
0
votes
1answer
137 views

web.config entries not deleted when deactivating farm feature

I have application that adds a Farm feature so Sharepoint 2010. When you configure it, some entries are added to the web.config file located in "C:\Program Files\Common Files\Microsoft Shared\Web ...
0
votes
2answers
707 views

Why does my feature appear in the site collection?

I have created a new feature in visual studio and scoped it to web. I have deployed this to a site collection. When i look at the site collections features it appears there. Why is this? I ...
0
votes
1answer
151 views

TimerJob error missing public constructor

I have an issue on my SharePoint 2007 portal, where i created a custom TimerJob, but when I deploy it i get a message: MyTimerJob cannot be deserialized because it does not have a public default ...
0
votes
1answer
269 views

Disable auto activate feature

I have a really strange behaviour, I'm working with SharePoint 2007 and I have a feature web application scoped, and i don't want it automatically being activated on deploying the solution, but it ...
0
votes
2answers
609 views

How to Deploy the Feature with Scope=Site & Scope=Web for WebParts & EventReceiver respectively?

I have only 1 Visual Studio Project. It contains 1 EventReceiver(for DocumentLibrary) and multiple-WebParts. I have defined the Scope=Site of Feature.xml file of Project. I have created 1 custom ...
0
votes
1answer
139 views

Unable to get list “Calendar” list in feature while creating site

I want to create custom calendar list programatically. SPListTemplate template = web.ListTemplates["Calendar"]; var newListID = web.Lists.Add(fromTitle, description, template); But i cannot do ...
0
votes
4answers
2k views

How to programmatically get Feature ID?

In order to programmatically activate a feature, you need its Feature ID (some type of GUID) that is set in the .feature file. Is there a pretty way of retrieving this value programmatically, so that ...
0
votes
0answers
73 views

Site-scoped feature with both Modules and Visual Web Parts

I have a Feature with Modules that place files in the Master Page Gallery, and I recently added Visual Web Parts to the feature. Then I realized at some point the copying of files into the Gallery had ...
0
votes
1answer
244 views

Adding style sheet to feature

I have created a feature in sharepoint 2010. The feature has a visual web part (sandboxed), the web part has controls etc. I have added some styles to the web part. How do i upload the stylesheet ...
0
votes
1answer
848 views

Page not appearing in site pages library

I want to deploy a page to the sitepages library. When i deploy this code it does not appear. However when i go to the url manually e.g. contoso.com/SitePages/mytestpage.html, i get the 'save as' ...
0
votes
2answers
968 views

How do i activate a Feature when a subsite is created

I have a web template that users can create sub sites from. I want to activate a feature when the subsite is created e.g. create list, columns etc for that sub site only. How would i approach doing ...
0
votes
2answers
103 views

How do i create a feature in web template?

I have created a web template in visual studio, it includes the standard element file and onet file, it also has a feature which is scoped to site level. All this works fine, i can deploy it and can ...
0
votes
1answer
43 views

Sharepoint Feature Creation Approach

I want to create a feature, once the feature is activated by the administrator a number of lists, items and workflows will be created. What would be the best approach to implementing this? The ...
0
votes
3answers
81 views

How to build a complex feature to collect and store user options that drive a delegate control

A long title but hopefully will be enough! Basically, I want to create a feture in Visual Studio that will do the following: When activated, places an option/link in the site collection options in ...
2
votes
1answer
146 views

Using solutions and features in creation/branding of SharePoint websites

I am new to SharePoint website creation and branding and I need your advice. For my first SharePoint site I have done the following: 1- Created/edited a master page. 2- Added CSS and JavaScript ...
0
votes
1answer
1k views

Where to Place XML File to be Read by Web Part?

In another question, I finally found a way to deploy the XML file to be read via a Feature, to the _layouts folder: Feature Elements File Should I be deploying it there at all? I wasn't able to ...
0
votes
1answer
895 views

Feature Elements File

I'm having some difficulty creating a Feature which contains a Web Part and a links.xml which is processed by the WP code-behind. My difficulty is in understanding the Feature XML config files and ...
1
vote
1answer
428 views

Web Part Feature

I'm working on a (non-visual) Web Part and wish to read from an xml file placed in the "C:\inetpub\wwwroot\wss\VirtualDirectories\80\wpresources" folder: Code-Behind: string sUri = ...
0
votes
2answers
535 views

Web-scoped Feature falsely activated during Visual Studio deployment

In Visual Studio I have a solution containing two features with their Scope set to "Web". These two features work as expected but the only thing that is going "wrong" is that they are activated when I ...
0
votes
1answer
468 views

Modify the content of the home page programmatically in SharePoint 2010

First of all, I'm pretty new to SharePoint so don't shoot me if this is a noobish question or if I don't provide all the right information at once... :) I have a team-site in SharePoint with ...
2
votes
2answers
1k views

How to delete features?

I have been uploading managed code xsn through central admin in development. It's the same infopath project. But I think SharePoint has a bug and it does not delete the old features when uploading a ...
0
votes
1answer
289 views

delete feature using event receiver on a farm feature

there is a farm feature and there is a web-scoped feature. web feature does stuff on multiple sites. If ever i want to get rid of the feature on all sites, I have a farm feature that has on ...
1
vote
1answer
207 views

Staple onto MyContent

I made my farm level stapler and my site level staple features, for SPSPER#0 it fires on MySite creation, so I presumed SPSMSITEHOST#0 would be MyContent, but nothing gets fires at all. I set the ...
0
votes
1answer
684 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 ...
0
votes
2answers
924 views

What's the connection between “Recently modified in Quick Launch” and the “SharePoint Server Publishing”-Feature?

First I had a plain Team Site without the Feauture "SharePoint Server Publishing" activated. I created several Site Pages, all rendered automatically without the annoying "Recently Modified". When I ...
0
votes
2answers
97 views

How would a Web Application feature knows on activation that which web app its supposed to run on

Scenario can be read on My other Question Further to that question, why would a web application has timer job definition that it hasn't been deployed to. this is the code I am using for feature ...
1
vote
2answers
380 views

How to include an anchor tag in a Feature description

Is there a way to include an anchor tag in the description of a feature; my reason for this is to take the user to a page that has the configuration instructions for the feature. Currently what is ...
0
votes
2answers
842 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. ...
0
votes
1answer
48 views

how to check custom property of added Item

There is a boolean column I added to a custom list, but I also have a feature on this custom list so that when a Item is added i have to check if this column exists or not and then its value. now i ...
0
votes
2answers
3k views

Adding multiple controls to AdditionalPageHead

My question is regarding the delegate control AdditionalPageHead, as we know it allows multple controls to be loaded. My questions are: How to add multiple controls? I want that the different ...
0
votes
2answers
257 views

ContentType.FieldLinks.Add() issue with hidden and required

I have a feature that does the following in the feature activation Code : Creates a new SiteColumn (Type=Text, Hidden=False and Required =True) Set the french version of the Name (using ...
0
votes
0answers
30 views

Custom delegate is applied even if the feature is deactivated

I have a question regarding a feature. Situation: I have a feature that is farm scoped, with this feature I deploy a delegate control (xml file), this file refers to cs code. So I've added that file ...
0
votes
1answer
1k views

How do I configure styles and layout of a Summary Link Web Part using code?

I have successfully added a Summary Link Web Part as a feature and want to configure the styles and layout of it, including: The default style for new links The group header style The number of ...
2
votes
1answer
8k views

Error occurred in deployment step 'Activate Features' - When feature stapling to My Sites

I am trying to deploy a feature to My Sites in SharePoint 2010 and nothing seems to be working. I did this perfectly fine on the test environment but can't seem to get it working on the production ...
1
vote
1answer
498 views

Publishing field type names for feature

I'm creating a SharePoint 2010 feature in VS 2010 to add some custom site columns to a site collection via an elements.xml file. I can't seem to find the Type attribute values for the publishing ...
0
votes
2answers
2k views

Finding all activated Site Features & Site Collection Features in a Site Collection Script

I wonder if someone knows any C# script that will provide me all Site Features in a site collection as well as all Site collection features in a site collection. I only required Activated features ...
0
votes
1answer
15 views

Site Features in Sub Webs Confusion

Very Basic but confusing question. I see we have three types of features, Web Application Features Site Collection Features Site Features Now I know that Web application features belong to web ...
3
votes
1answer
197 views

Site Scope Feature dependent on a Web Scope Feature

On the root web for my site collection I need to make sure a web scope feature is turned on. In the feature EventReceiver I can turn on the feature progamtically. How can I stop the user turning the ...