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

learn more… | top users | synonyms

1
vote
1answer
40 views

Dependency of feature deployment with List and webpart

We have a project containing a webpart and a list instance (rootwebonly). The webpart and the list instance are activated via a single feature. Now problem is that, everytime a change is requested, ...
1
vote
2answers
64 views

Difference between enabling feature from PowerShell and activating it via site collection features page?

I am trying to create a SharePoint list based on a list template via a feature. The code for creating the list is in the FeatureActivated event handler of the feature's EventReceiver.cs file. The list ...
1
vote
1answer
24 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 ...
0
votes
1answer
19 views

What happens if feature is already activated and you install new wsp?

Suppose we have deployed a wsp (say webpart) with a feature at site collection level and it is activated. Then, we change code of the webpart, create a new wsp. Then, go to central admin->manage ...
0
votes
2answers
28 views

Removing missing features which are not referenced

I have an issue, basically I have one missing feature which was found by the pre upgrade tool and i would like to delete it, but no tools help me with that, it is also said that this feature is ...
0
votes
3answers
29 views

Implication of feature scope on SP Object Model

Just curious to know this. Suppose we have a site collection with 3 sites (1 root site + 2 sub-sites). We create a feature in VS to create a new list. Foll. is the code:- foreach (SPWeb web1 in ...
1
vote
1answer
25 views

Do you see “Shared with me” and “Undo Change” feature at your SP2013 (std and enterprise)

Sorry it maybe a stupid question but in my test environment the titled features are missed. According to MSDN: ...
1
vote
0answers
7 views

SP2010 - ToolbarTemplate property not working in Custom Feature

I have a requirement to hide the "Respond to Survey" link on all surveys for a SP2010 site if the user has already responded. I followed the process using this link ...
0
votes
2answers
32 views

How can I make my custom webpart visible to the whole farm?

I am quite new to SharePoint. I am trying to update an Integration of SharePoint 2010 to SharePoint 2013. I can add my custom webpart under the default site collection. But when I create a new site ...
0
votes
1answer
42 views

Hide all site templates except custom and also show templates which are added after feature activation

We want to remove all site templates except custom templates under Create > 'Sites and Workspaces'. and we only want to allow custom templates... Custom template can grow over the time by saving site ...
0
votes
1answer
28 views

Site provision cycle

I have some site definitions in which I have added multiple lists into the <Lists> tag and then I've added a stapling feature which will trigger a series of web-scoped features when sites are ...
0
votes
0answers
40 views

The element of type field fo feature 'feature' threw an exception during activation: a duplicate field name 'fieldName' was found

I am taking over a SharePoint environment. The previous developer created a custom Workflow with Custom Activities, etc. One of the steps in the Workflow is to create a web using a custom Site ...
4
votes
1answer
58 views

Adding new site column to existing content type on multi language sites

I'm using the declarative SharePoint feature upgrade approach to : 1. Add a new custom column to site columns gallery 2. Add the new custom column to an existing content type There are two variation ...
0
votes
1answer
63 views

Adding Folders to a SharePoint 2010 Custom Document Library Template

Although I know it is bad practice, my business requirements dictate to create a default folder structure within a custom document library template. I created the feature in VS including site columns ...
0
votes
0answers
52 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 ...
0
votes
0answers
29 views

Custom Search to External Service

I am trying to add a custom search on the top static bar in SharePoint 2010. I created a delegate control to perform this task. I have tried multiple ways of creating a form text box and button and ...
2
votes
2answers
25 views

Controlling which feature a project element is added to

How does visual studio decide which feature to add an element to? My features have a specific order which they need to be enabled (and its set using Feature Dependencies) but I need a simpler method ...
2
votes
1answer
51 views

PowerShell Script To Find Where SharePoint 2010 Features Are Activated

I want a PowerShell script to find where Features are activated in a site collection and its sites/subsites Like for example feature "Enterprise feature"
4
votes
1answer
141 views

Farm scope Event Receiver

For some security reasons on one of our farm level solutions, we need to limit some actions using Event Receiver-FileMoving event. However, as known, event receivers can be deployed only by Site or ...
1
vote
1answer
62 views

Cannot activate SharePoint Publishing Feature

despite placing the following code in my onet.xml, the publishing feature is not activated. <Feature ID="A392DA98-270B-4e85-9769-04C0FDE267AA"> <!-- PublishingPrerequisites --> ...
1
vote
2answers
40 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 ...
2
votes
4answers
86 views

feature stapling in site definition

I want to create site definition using VS2010, also when any site get created it should activate few feature automatically. How to use feature stapling exactly , please anyone let me know step by step ...
1
vote
1answer
42 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
1answer
58 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
1answer
26 views

2 exact the same features in different packages

I have a question, basically in a solution i have 2 packages which should be independent, but also should work properly together. So I have a feature which basically is required in both packages. I ...
2
votes
2answers
3k views

Feature has already been installed. Use the force attribute to explicitly re-install the feature

We have several SharePoint 2010 solutions which we want to deploy to SharePoint 2013 with Visual Studio 2012 running on Windows Server 2012. Site solutions work. But farm solutions just don't. I get ...
0
votes
1answer
71 views

“The system cannot find the file specified” message while deploying new feature

I'm trying to deploy a new feature on sharepoint 2010 with scope web. The deploy seems to run successfully, but the feature is not prensent in feature manager. While visual Studio deploys the ...
0
votes
1answer
130 views

Features.feature in SharePoint app

I added a new SharePoint app project into an existing web project solution. When I tried to deploy it am getting an error: Error occurred in deployment step 'Install app for SharePoint': Failed to ...
0
votes
0answers
19 views

Missing feature when deploing with -Local parameter

We have package with publishing page template and content type. All this stuff is in web scoped feature. Whe we deploys our package globally (wothout -local param) Install-SPSolution -Identity "Name" ...
1
vote
1answer
80 views

What are the considerations with removing groups and permission levels added by SharePoint Server Publishing Infrastructure

I'm trying to decide how to handle requirements I have for removing security groups and permission levels that are added by activating the SharePoint Server Publishing Infrastructure (SSPI) feature ...
0
votes
0answers
44 views

How can I create a editable site page based on a custom page layout that is deployed via site definition

I have a site definition (SP2013) with some features. The feature deployes a custom page layout thats using the "Article Page" content type. Once deployed I can create new pages fine based on my new ...
0
votes
3answers
137 views

Email group when documents reaches expiry date

I have a requirement where a document column ‘Expiry’ = today to send an email to the document owner / group. Then the owner will need to modify the document and update the Expiry Date ready for the ...
0
votes
2answers
78 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
3answers
97 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 ...
2
votes
2answers
62 views

Copy user accounts across site collections

I am writing an archival Feature for a SharePoint 2010 list using C#. I have it copying the list items and all version history over to the new site collection but the Modified By and Created By fields ...
0
votes
1answer
25 views

List-driven solution needs to be deployed to two different web applications. What do I do?

Here is the summary of the problem I am facing: I created a feature, scoped to site collection. The solution installed by the feature uses data from lists created by the feature on install. This is ...
0
votes
0answers
21 views

sharepoint 2010 Ghosted / UnGhosted Page Layout query

I've deployed a Feature to my SharePoint 2010 Farm which deploys each of my custom page layouts as 'ghosted' (uncustomized) aspx files into the Page Layouts folder especially since I have to update ...
0
votes
1answer
51 views

Allow multiple people to work on different web parts at the same time

I've scoured the internet and tried asking different questions but still can't come up with a nice solution to this problem. Consider a situation where I have 2 web parts, each of which is being ...
0
votes
0answers
63 views

Custom Feature Compatibility from SP2010 to SP2013 Question

I have a question concerning the compatibility of my SP2010 custom features in SP2013. Here is my setup: I have a wide range of Farm, Site, and Web features that all interact with each other in a ...
0
votes
1answer
66 views

Object reference not set to an object error while moving an object to feature list

I have created a feature in which I want to put the list instance to be created when the feature is activated. I created new feature from visual studio and trying to add the list instance file to the ...
1
vote
2answers
1k 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. ...
0
votes
0answers
196 views

Calling Enable-SPFeature in SP2013 with CompatibilityLevel isn't working

In an SP2013 environment running in SP2010 mode has anyone successfully called the Powershell command -- Enable-SPFeature while specifying the compatibility level? Example: Enable-SPFeature -identity ...
0
votes
0answers
166 views

Feature ‘XXX’ for list template ‘YYY’ is not installed in this farm. The operation could not be completed

So I'm very new to SharePoint. And I'm supposed to debug a website SharePoint 2013. So when I open this page a web service is supposed to get me data from a distant database and display it in a ...
1
vote
0answers
76 views

Embed iframe when inserting a post

I developed a Ribbon button that show's up in the Media tab. This displays a Modal Dialog to the user, listing some external content, and when clicking on an item it pastes the iframe html code on the ...
1
vote
1answer
103 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
4answers
763 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
0answers
75 views

2010 - Update-SPSolution required after solution installed?

I created a new feature and performed a Uninstall/Remove/Add/Install-SPSolution using PowerShell to deploy it. The solution deployed correctly and the feature was added to the 14 hive, but did not ...
0
votes
2answers
559 views

Sharepoint package installation - Feature is not visible in Site collection -> settings

I am not very experienced with Sharepoint 2010 and I am having trouble installing a package. I downloaded a package from "iLove SharePoint" as I need to call web service from a workflow. The package ...
0
votes
1answer
184 views

Custom Master Page Feature on Parent Site automatically getting activated on activating child's master page feature

I've created and deployed a custom master page and kept its scope to be Web because I want to apply to specific sites not the complete site collection. But when I activate feature at a specific site, ...
0
votes
0answers
25 views

Feature is not deploying

I have created a new BDCS model in Visual Studio. VS created a new feature for this item. Several times this feature worked fine.. But it didn`t deployed twice. First time I deleted feature and bdcs ...