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

learn more… | top users | synonyms

28
votes
3answers
27k views

Explain it to me: SharePoint deployment scope, solution and features

There are different levels of scope for deployment, but I have not been able to find a definitive explaination of when each applies and what the restrictions are that require loosening (or tightening) ...
2
votes
0answers
31 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 but the ToolbarTemplate property is ...
1
vote
0answers
367 views

Is there a way to create user-configurable Custom Retention Formulas, possibly through Custom Properties?

I am wanting to create a "user" - configurable Custom Retention Formula? Something like a simple version of the rules that Excel and other applications have which displays something like: ...
0
votes
0answers
40 views

Error on mobile url of the SharePoint site

When I try to access SharePoint site on mobile using url https://sitename/m then I amgetting below error message. I tried enabling feature MobilityRedirect using command =>stsadm -o activatefeature ...
0
votes
2answers
97 views

Create list intance for all the sites and subistes in a Site Collection - Visual Studio

I created a Visual Studio SharePoint project that has a custom list in it. When I deployed the solution, the list instance is created for only the root site and not for subsites. The feature scope is ...
0
votes
0answers
589 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
16 views

How to find the List of activated features on MOSS 2007 environment?

My requirement is If i have given the web application name it should traverse through all the site collection and sites then it should show the list which contains the activated features. Please ...
0
votes
0answers
19 views

How to set specific Subsite Templates in a Site Collection

Through Site Settings>Page layouts and site templates>Subsite Templates is possible to define a list of template that the user can use to create a Subsite. Instead of achieving this through user ...
0
votes
0answers
132 views

Enabling WACustomReports in SharePoint 2013 (15.0.4701.1000)

My attempt to use the export and import shell command to migrate a site collection has been impeded by the absence of this feature:WACustomReports When I run this command: Import-SPweb url - Path " ...
0
votes
1answer
22 views

Feature not activating, til 2nd attempt, no error

I have a custom feature that, when activated, alters a document library (adds content types, sets up views, attaches a workflow). For some reason, the first time I activate the feature nothing seems ...
1
vote
1answer
40 views

Adding a large modification to web.config in a SharePoint Web Part

Through various sources on the web, I've seen simple ways to modify web.config from a SharePoint feature. However they are typically one liners. But if I need to add a WCF Binding such as this: ...
0
votes
1answer
56 views

SharePoint mixing list schema

I've a solution for SharePoint 2013 where I created several list and added them to a feature. When I deploy the solution to my dev environment every list has the same schema (the same columns). They ...
0
votes
3answers
75 views

MissingFeature - Issue

I am trying to get rid of the health error: [MissingFeature] Database [WSS_ContentDB] has reference(s) to a missing feature: Id = [id] I followed this link Removing features from a content ...
0
votes
1answer
12 views

Object Reference Error when trying to check for activated features using windows forms app

var feature = spSite.Features.SingleOrDefault(sf => sf.Definition.DisplayName.ToLower().Equals(strFeatureName));//Error block if (feature != null)//if feature is activated { ...
0
votes
1answer
134 views

Remove duplicated custom action from welcome menu box

I have created a custom action in welcome menu box like this: <CustomAction Id ="CustomMenu_UserSettings" GroupId="PersonalActions" ...
0
votes
1answer
33 views

Default download dialog box not appearing on click of a document link in a document library?

I am using the code given in this link to watermark my documents. Here the author has used IHttpHandler to watermark document whenever a user clicks on a pdf document. Whenever I click on a document ...
1
vote
1answer
54 views

How to deactivate feature from site collecion programmatically?

How to deactivate feature from site collection? I am trying the code below but got this error: Updates are currently disallowed on GET requests. To allow updates on a GET, set the ...
0
votes
2answers
159 views

Enable-SPFeature - issue

I am stucked on this error: Operation is not valid due to the current state of the object while tryng to enable a feature (site scoped) with Enable-SPFeature powershell command. I tried to ...
1
vote
1answer
22 views

How to provision predefined imagerenditions to all site collections inside a web application?

I am using sp 2013. I have followed this tutorial. But I am struggling with the scopes. I would like to implement my module (predefined image rendition xml file) to all site collections inside web ...
1
vote
1answer
56 views

How to modify default site page via features?

I need to set the web part I added to a provider hosted app as a default page in the site via a module. Can someone tell me please how to modify that module in order to load the web part as a default ...
0
votes
1answer
38 views

Hide / Target feature for specific Site Template

I have created a branding solution which contains 2 features. One is for the MySites root site collection and the other is for any other Site Collection type. I do not want people activating the ...
-2
votes
2answers
60 views

What is feature ID for Feature “Open Document in default application” SP 2010

What is feature ID of Feature "Open Document in default application" in SharePoint 2010 environment?
1
vote
3answers
489 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 ...
0
votes
0answers
22 views

The content type “Excel based Status Indicator” is part of an application feature

I have written a small poweshell script to delete all the content types except some custom content types, But i am getting error while deleting "Excel based Status Indicator" feature. Is it possible ...
0
votes
0answers
61 views

How to create a Document Library as a SharePoint Web Part feature AND upload a file to the new library?

So I have a SharePoint 2013 full-trust web part I'm building with Visual Studio that creates a document library as one of its features. What I'd like to also do is upload a file to that library as ...
0
votes
1answer
27 views

Lookup column, using one or two features?

I have 2 lists with a lookup column. I'm thinking about 2 choices. Even putting them in the same feature or separate them in 2 features. My question is : Does putting the lists in the same feature in ...
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
90 views

Setting Masterpage and Theme in the same Web iteration

I have an interesting issue within a Branding Feature. I'm iterating through all Webs and setting the Theme and the MasterPage. Setting the master page works by itself: foreach(SPWeb web in ...
0
votes
2answers
35 views

Always i have to manually deactivate and activate feature manually?

I have a feature scoped to web. Every time i deploy my wsp using visual studio i have to manually go to the site feature and deactive and active feature to see my latest changes. Is there any setting ...
2
votes
0answers
33 views

SharePoint Online, Add a webpart to wiki page

I need to add a web part to an existing wiki page [Type="GhostableInLibrary"], when a feature is activated. I have tried a combination of both IgnoreIfAlreadyExists and ReplaceContent properties in ...
1
vote
3answers
2k 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
0answers
28 views

“Resource not found ” when page is deployed using a feature

I am running through deployment problem. I have a feature with pages and required dlls. When I deploy the solution it gets successfully deployed. I can see feature (active) in my site. I can see ...
0
votes
1answer
60 views

Solution deployed to one site collection changes same solution on another site collection

I have two site collections, SC1 and SC2. They both have the same solution deployed on them. The solution was deployed on both via Visual Studio's "Deploy" functionality, changing the the deployment ...
0
votes
2answers
323 views

-Identity parameter in “Enable-SPFeature”

I just want to confirm -identity parameter in Enable-SPFeature -Identity $parameter -Url $spSiteCollection.Url Powershell command. In $parameter parameter, should we need to provide the ID of feature ...
-1
votes
1answer
63 views

Cannot resolve symbol 'GetFile'

I have just created an event receiver to ensure that my colour palette is activated on my 2013 Web application. The below code is what I have inside public class ...
0
votes
2answers
174 views

Add Link to the Quick Launch Navigation while deploying a webpart page in the module

I like to add a navigation link under the quick launch left nav bar when a module deploys a webpart page as a file element in the feature. Is there a declarative way or do I go with feature event ...
3
votes
2answers
645 views

Publish contenttype after activating feature (Office 365)

I've created a Contenttype and some fields in a visual studio project. They are deployed when activating the "Content types"-feature. But here's the problem: I want them to be deployed to the Content ...
1
vote
1answer
23 views

Can I change my public site collection into a 'normal' site collection?

My xxxx-public.sharepoint.com has very limited features compared to my other site collections that are not public. I have spent a while working on the public website but now I need access to features ...
6
votes
1answer
75 views

Provisioning MySite with feature that creates library with content type from CT hub

I'm having a problem when provisioning a new user's MySite. I'm trying to activate a feature that adds library / lists to the current user. The library / list should use a content type from the hub! ...
2
votes
2answers
525 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"
2
votes
1answer
50 views

How can I create my own site feature for office 365?

I want to create my own site feature for 365. I am doing migration process from MOSS 2007 to SP 2013 as well as Office 365. In MOSS 2007 they used some FAB 40 template (Bug Database) this site ...
0
votes
1answer
247 views

Error Importing Site using PowerShell

I'm trying to Import a site using PowerShell via the command Import-SPWeb. During the import process I got a fatal error stating "Could not find Feature MobilePowerPointViewer". Since the ...
0
votes
0answers
114 views

SharePoint Online master page not being added to subsite

In SharePoint Online I have created a new Site Collection with a custom master page, and the master page styles are displaying fine. Now when I create a subsite they do not get the master page ...
19
votes
5answers
26k 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
2answers
63 views

Unable to add page in Page library of SharePoint 2007

The site is not valid. The 'Pages' document library is missing. at Microsoft.SharePoint.Publishing.PublishingWeb.get_PagesList() at ...
1
vote
1answer
118 views

Edit person.aspx?

We have more than 1000 user profiles that need a customized person.aspx. We need to make quite big changes to person.aspx. What is best practice here ? Do we edit person.aspx via SharePoint designer ...
0
votes
1answer
364 views

Cannot active SharePoint Server Publishing - missing another feature

I'm trying to active this part from the site features: **SharePoint Server Publishing Create a Web page library as well as supporting libraries to create and publish pages based on page layouts.** ...
1
vote
0answers
27 views

Access Denied on installing WSP having Web Application scoped Feature

As the title says. I am trying to deploy a solution through central admin which has a Web Application scoped feature. As soon as I try to install it, it goes to access denied page. Strangely, when I ...
0
votes
3answers
44 views

Cannot add item to a list

I can create a list and add a custom column to it but there are no items present in the list when I try to add them programmatically. Below is the code snippet. Guid listId = ...
2
votes
1answer
3k views

SharePoint 2010 solution not deploying correctly (features not available)

I have been working on a SharePoint 2010 solution on a server using Visual Studio. Unfortunately the server decided to die on me. Fortunately I have the solution backed up using source control and had ...