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

learn more… | top users | synonyms

2
votes
0answers
36 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 Files\...
0
votes
0answers
35 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
74 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
553 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
79 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
224 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
693 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 ...
2
votes
1answer
27 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
84 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
698 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
62 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
455 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
153 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 ...
0
votes
2answers
76 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 Microsoft.SharePoint.Publishing.Internal.CodeBehind....
1
vote
1answer
172 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 ...
1
vote
0answers
35 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
46 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 = web.Lists.Add("TestList",...
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 ...
1
vote
1answer
49 views

Provide a customer an upgradeable SharePoint solution containg content types, list templates and so on

currently I'm developing a SharePoint solution for a customer, which contains the following: A custom field type Two content types (one containing lookup fields to the list which is using the other ...
3
votes
3answers
4k 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. ...
0
votes
1answer
619 views

2013 - feature upgrade - add or modify Content Type

Sharepoint 2013. I have 2 features installed. First has a content type with document list definions and second has workflow for it. Now I need to make changes to them and also add another content type ...
1
vote
1answer
15 views

Features on a list

How can I see the features attached to a list? (ex: which feature create an item custom action)
0
votes
1answer
33 views

Can we deploy Web Site scoped Feature (Scope=“Web”) to Site Collection(Scope=“Site”)?

Can we deploy Web Site scoped Feature (Scope="Web") to Site Collection(Scope="Site")? I think applying force command in powershell creates unwanted trouble. what is actual business case scenario of ...
1
vote
0answers
954 views

Uninstalling farm solutions, will not remove the related site collection features

I am facing a problem which I cannot understand how to fix it. Now I have installed third party tools inside my SharePoint 2013 server. Then I wanted to remove them, so i went to "Central ...
0
votes
1answer
191 views

Where/How to install missing feature 'Mobile Browser View'

I have this error in our staging SharePoint farm. I can remove the references, but I'd like to reinstall the feature since we have this feature installed on production. [MissingFeature] Database [...
0
votes
1answer
47 views

List creation on installation NOT activation for a feature?

I have a Sharepoint feature that includes a settings list template, which is read by other features. The list must have a particular name for the whole thing to work, so ideally I would rather have a ...
0
votes
1answer
33 views

Feature Activation User

Which user context is used in feature activation receiver? Is it current user (when activating from WebUI)? I have to call a service in feature activation receiver and I have to know which user ...
1
vote
1answer
566 views

Active then deactivate “SharePoint Server Publishing Infrastructure” inside my team site

i have a team site inside my SharePoint 2013. now i have enable the "SharePoint Server Publishing Infrastructure" from site Setting-->site collection features. which added the following libraries ...
26
votes
7answers
7k views

List of best practices on structuring SharePoint 2010 solutions

I am looking for good guidance on how to structure a SharePoint Solution including: Visual Studio Project Structure Features (how to separate features) Namespaces When to use multiple project ...
7
votes
5answers
3k 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 ...
1
vote
1answer
68 views

Programatically identifing feature for activation

I have a requirement where a custom action is only added to the root site of the site collection. So planning to add two features one Site scoped and the other Web scoped. In the event receiver of a ...
0
votes
0answers
205 views

MySite Feature Activated Document Library

I would like to modify the Document Library for each users mysite during creation to include a custom content type. I figured a feature would solve this problem. However, when activating the features ...
4
votes
2answers
5k views

When I create a folder programmatically get the error “Invalid item data — missing FileRef”

I am trying to add programmatically the desired Folder. I do the following foreach (SPListItem reparto in reparti.Items) { var folder = dl.Items.Add(dl.RootFolder.ServerRelativeUrl, ...
0
votes
1answer
39 views

SharePoint Features Properties

I have to set my feature properties from VS. When I double-click on the file FeatureName.Feature , I do not see the properties window but VS open the feature design manager. How can I change the ...
0
votes
0answers
45 views

HarePoint Knowledge Base and DevExpress won't leave me alone!

I installed the HarePoint Knowledge Base for SharePoint. I have since removed it. Periodically, despite the fact that I have removed every trace of the application I can find, all of my web.config ...
1
vote
2answers
150 views

Why does a Site-Scoped Feature need to be installed on farm-level?

"Feature with Id '#########################' is not installed in this farm and cannot be added to scope" I received this error when trying to deploy a SharePoint 2010 solution in VS 2010. The problem ...
1
vote
2answers
800 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 ...
19
votes
3answers
2k views

Feature based XML vs. Object Model: Which is better for content type development?

I've been researching a few different ways to create content types and I recently discovered that you can use the Object Model to do this. All of the examples I have found online typically use XML ...
0
votes
2answers
53 views

Removing a site collection feature

I am trying to remove a SharePoint feature that was deployed on a site collection level. Even after disabling it and removing the solution, it's still there. I deleted the folder from the TEMPLATES ...
1
vote
2answers
184 views

SharePoint Webpart Feature installation

Do I ever install the Feature in my SharePoint project manually, or is that handled when I install the solution? Am I only supposed to have one overall, or one per webpart?
2
votes
2answers
133 views

Sharepoint is keeping a record of un-installed solutions

Today i ran a powershell script that lists all the features on my Sharepoint 2013 system along with their 'scope' and 'GUID'. I noticed while looking at the list that it also includes features that ...
1
vote
1answer
373 views

Automatically Setting the Masterpage in Sharepoint 2013

I am trying to install our custom masterpage (and supporting files) as a feature which would automatically turn on and set the default masterpage to our custom one. When deploying in VS2012, it works ...
1
vote
2answers
2k views

How to remove Feature from site?

Someone in my company installed a test feature on a live site. Now I'm trying to clean up this test feature, and am not sure where all to look to get rid of the one feature that I have left. This is ...
1
vote
1answer
159 views

How to package a CQWP With its required XSL files as a SP feature?

Is there a simple way to package a CQWP with its required XSL and CSS ( and maybe js) files as a feature? The scenario I have is that i have some components in a WCM page that are implemented as OOTB ...
0
votes
1answer
3k 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 ...
1
vote
1answer
111 views

Hidden property of feature

If Is Hidden property on the feature designer is set to True then the feature wont appear in the list of features. Hence the feature is enabled, but cannot be disabled or uninstalled?
1
vote
1answer
59 views

Hide feature based on user sharepoint

Is there any way to manipulate feature.xml file to control its visibility from a specific group? Thanks.
1
vote
2answers
42 views

Single feature management

I am having a situation where I need to manage single feature for multiple site collections in a farm environment. Situation is as described below. Assume, I will create 3 web applications and for ...
0
votes
1answer
107 views

Can a workflow start a console app in SharePoint?

I would just like to know, if it is possible to start a console app from a workflow in SharePoint?