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

learn more… | top users | synonyms

3
votes
2answers
2k views

Web Application scoped features not visible in Central Admin after installing solution with WebApplication scoped resources

In an effort to use WebConfigModifications less, I am trying to move some binding redirects and safe control entries into the solution manifest. The DeploymentTarget of the assembies is ...
0
votes
2answers
426 views

Creating a site column using a feature and setting its WebId property

I need to create a site column that will be added to children sites, this column is a lookup referencing a list in the rootWeb, so I need to provide de WebId property in order to make it available on ...
3
votes
1answer
1k views

deploy custom site list solution to web application scope?

I created a custom list definition in Visual Studio. Then, I generated a .wsp and sent it to our server admin to install. He got a warning: The solution contains no Web application scoped ...
0
votes
1answer
862 views

Hide “Customize Form” Button on List Ribbon

I am trying to hide the "Customize Form" button on the List ribbon: I have created a feature that deploys an Elements.xml file that looks like this: <?xml version="1.0" encoding="utf-8"?> ...
1
vote
0answers
215 views

Lists not being added to quicklaunch

I'm having a problem with some lists that are included in a feature (Scope: web), which is created via a site definition. These lists have the display on quicklaunch set to true, although, the only ...
0
votes
2answers
743 views

How to add a calculated column to list view programmatically?

I have created a SharePoint feature where I have added a list named "Employees". I have added a Content Type "Employee" and added to it some columns like "Vacation Days Taken", "Vacation Days ...
0
votes
0answers
72 views

Features in Sharepoint 2010

I created an empty Project and used the default Feature1 thats created with the project to then create the following: public override void FeatureActivated(SPFeatureReceiverProperties properties) ...
0
votes
1answer
311 views

Deploy VS2012 SharePoint 2010 Two Projects in Solution - Cannot see 2nd Feature in SharePoint

This is probably going to sound vague, but I have two C# SharePoint projects within a solution. I have been working on Project 1 for a while and it gets deployed to my local instance of SharePoint on ...
0
votes
1answer
44 views

Hide some MySite social features

I'm new at SharePoint 2010, and I'd like to implement social features. I used MySite, but there are too much possibilities, and I would like to hide (or disabled) some of them (red-cicled in the ...
0
votes
2answers
500 views

Managed metadata field grey when deploying with powershell

I have a powershell script that does the following: Create web application x Add and install some wsps Create site collection using a site definition deployed with one of the wsps. 3b. The ...
1
vote
2answers
60 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
120 views

Apply element manifest without re-activating feature

I have a feature module which consists of an XML file which adds ConsoleNodes to the Site Actions menu. To test it, it seems I must compile the package, deploy it, activate it, etc. Since this is ...
0
votes
1answer
430 views

Sharepoint Foundation 2010 Missing Server Side Dependencies

I installed some of infowise templates to our sharepoint server and it installed some features. Now, we try to upgrade 2013 version of sharepoint server. But we take some error about these features. ...
1
vote
2answers
116 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 ...
0
votes
2answers
2k views

Removing all Enterprise SharePoint Features from a web application

I am having a hard time determining which features to include in the removal process. Additionally, I am struggling to determine the order in which they should be removed. Could you please help me ...
3
votes
1answer
2k views

Sharepoint 2010: Creating Feature.xml and Elements.xml using notepad

Thanks for your help in advance. I am learning Sharepoint 2010 and trying to dive deep. What I am doing right now is to create a content type and fields using declarative programming in notepad and ...
0
votes
1answer
282 views

SharePoint Server Publishing Infrastructure” feature workaround?

I am running Sharepoint 2010 Foundation.. I have been trying to locate SharePoint Server Publishing Infrastructure” features... This feature does not seem to be available on the Foundation version... ...
2
votes
2answers
655 views

Powershell script to retrive all the customization done on sharepoint site

How to write a powershell script which will display the customization done on a sharepoint site - customizations like custom features, custom workflows, custom site def, infopath form etc...
1
vote
2answers
427 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 ...
2
votes
2answers
3k views

Error occurred in deployment step 'Activate Features': The parent content type specified by content type identifier 0x0101 does not exist

I have created 80 content types. some of them are inherited from some other content types. I have placed all the content types in feature in such an order that parent content types are at top. But ...
2
votes
1answer
468 views

How to DeActivate feature of my site?

How to DeActivate feature of my SharePoint site remotely ? I have created .wsp package file and uploaded SandBox solution to my SharePoint site. But in my elements.xml file it has 1 mistake of ...
18
votes
4answers
20k views

Feature with id already exists - force option

I'm getting that old familiar error when trying to deploy my SharePoint solution via Visual Studio: Error occurred in deployment step 'Add Solution': A feature with ID {Guid} has already been ...
1
vote
3answers
1k views

Feature Folder Path Name Doubled

Why when I create a new feature in VS2010 and deploy it, I see the Features folder has my solution but the name is "Doubled Up". Is this expected behavior? See my sample below: C:\Program ...
0
votes
1answer
524 views

Override default.aspx in Sharepoint Foundation by Feature

I want to develop a feature(-event receiver) to override default.aspx. I want to use a webpart-page instead and add some webparts. I don't know how to override it. I know how to build a new ...
4
votes
1answer
176 views

Add .preview file using feature

I have this feature with a nice little master page inserted through a feature, and it works fine. Now I'm looking into theming, created a composable look. To choose this look in the design manager ...
0
votes
2answers
2k views

Change SharePoint Sub-Site's Default Page

I am installing a sub-site in Sharepoint 2010 using PowerShell. For all the sub-sites, we have configured sharepoint to launch a particular sub-site's default.aspx page as landing page after log-in. ...
1
vote
1answer
306 views

To deploy page layout with feature at the same time of adding content type, the content type Id issue

First let me describe my situation: Now I'm using object model to add two content types (inheriting Pages content type) using the FeatureActivating methode in the Feature Receiver. in the same ...
0
votes
2answers
1k views

Feature deactivation and webpart not being removed

I have a question regarding a feature and the webparts. Basically recently i noticed that when i deploy a webpart with my solution and it is bound to a feature on site collection scope, when it is ...
0
votes
1answer
70 views

Remove a list from all site collections when a feature is uninstalled

I have a site scoped Feature which specifies a list as such: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> ...
2
votes
1answer
467 views

SPListCollection.EnsureSitePagesLibrary() throwing SPException (specified title already exists in this Web site)

I am attempting to call SPListCollection.EnsureSitePagesLibrary() upon FeatureActivated. The method is throwing the following exception: Microsoft.SharePoint.SPException: A list, survey, ...
1
vote
3answers
256 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
1k 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
2k 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
1k 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
127 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
682 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. ...
2
votes
0answers
180 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
116 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
1k 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
620 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
293 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
130 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
170 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
981 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
311 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
534 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
1k 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
190 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
79 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 ...