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

learn more… | top users | synonyms

5
votes
4answers
2k views

Is feature activation code allowed in Web Template Project?

I created a empty project added module copy onet.xml and default.aspx from layout/template/sts directory to my project and added to my project Ran F-5 to debug and it seems to be working Now I need ...
1
vote
1answer
481 views

Access Document ID from a different Site Collection

I have the Document ID Service feature enabled in a Site Collection. I have a Records Center site provisioned in a different Site Collection - within the same web application. If I create a document ...
1
vote
2answers
346 views

How to add an workflow association to a list

I have a feature where I have create several items including lists and workflow. I want to add an workflow association to one of my lists. However I would like to refrain from using a code solution. ...
1
vote
1answer
74 views

Which publishing feature creates a search site?

I have created some custom WebTemplates for SP2010 and activated a load of publishing features which have in turn created a search site. Does anyone know which feature is likely to create this subsite ...
0
votes
1answer
405 views

Debugging a Timer Job

I was not able to do something a little more elaborate with my timer job so I decided to check if something basic works. So I tried the code below - but it keeps giving me this error - why? UPDATE ...
0
votes
1answer
553 views

Error on activating Publishing Feature SharePoint 2010

I am working with SharePoint 2010. I need to activate SharePoint Publishing Infrastructure Feature under Site Administration>Site Collection features. But when I try to activate this feature I get the ...
23
votes
6answers
4k 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 ...
1
vote
1answer
113 views

How do I move lists from a site into a feature?

I created some custom lists (with content) on a site I'm using for prototyping. I want to make a feature (via Visual Studio) that automatically adds these lists (plus content) to any site the feature ...
0
votes
1answer
31 views

How to replace a Default List “Events” with a new custom list for all the sites

I am trying to find a script that will replace Sharepoint Events List with one of Custom List i created + Copy all the data of Events list to my newly created list. I know how to Delete a list and ...
17
votes
1answer
5k views

What is “feature stapling”?

I've seen the term "feature stapling" used around this site and some blogs. What exactly does this mean? My best guess is that it has something to do with dynamically activating features from other ...
2
votes
1answer
174 views

Sharepoint Report center

Is the Report Center option available for sub-site creation? I would like to utilize it for Director reporting and scorecards/dashboards
1
vote
2answers
979 views

Activate Feature in Powershell and specify custom properties

I want to activate a feature with custom properties. It is easy to do in onet.xml by providing Properties: <Feature ID=“78277796-98D9-4276-B7D2-E3374AAC43D8“> <Properties> ...
0
votes
2answers
697 views

Errors when attempting to install a sharepoint 2010 feature

I'm attempting to install and activate a feature containing a Timer Job. When I execute the install-spfeature cmdlet I get the following error. What is the source of my error? PS ...
1
vote
4answers
855 views

How to embed a CQWP into a master page or DelegateControl

I'm looking for a way to embed a pre-configured Content Query Web Part into a master page. In short, I have a SharePoint:DelegateControl on the master page and I want to plug the web part into it by ...
1
vote
1answer
702 views

removing a sharepoint solution duplicates entry in web.config?

My intentions is to be able to add and remove web.config changes when a solution is installed or uninstalled. The code below and the powershell below works ALMOST as expected. When I add sp ...
0
votes
1answer
2k views

Provision listview webpart on page layout using feature

I've deployed a custom page layout using a module in a feature, like this: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module ...
1
vote
2answers
51 views

Customizing a feature: Site Options? Config List? Something else?

I'm developing a feature that renders a link on the user's screen, and I need that link's destination URL to be configurable by site collection administrators (SCAs) who are not developers. Where ...
2
votes
2answers
4k views

Making a cab file with ddf (to create a wsp solution package)

I am trying to Create a ddf file for my custom list feature using tutorial given in this link Create a wsp using ddf but in this link there isn't enough Information like what is the directory ...
1
vote
2answers
560 views

Schema.XML not found in 12/Template/Features/myfeature

I am trying to create a custom list feature, what I did is created feature and then i build a solution out of it using this tutorial Creating a Solution file for Feature when it creates a .wsp ...
1
vote
3answers
141 views

editing sharepoint file in the feature folder

I'm having an issue. I want to make a quick change to an aspx file that I recently deployed to a sharepoint server. Due to some circumstances, it is not worth the time to edit and recompile the ...
0
votes
1answer
125 views

Using configuration of base web template in custom web template

I'm creating a custom web template, and I'd like for my configuration only to add the things I need above and beyond what's in the base web template (in my case, CMSPUBLISHING#0). My template works ...
0
votes
1answer
1k views

How to dynamically set Module URL property in Elements.xml file

I have created a module that creates a site page inside a pages library. Is there a way we can dynamically set Url property of the Module node in the XML file? I would like to set the Url property ...
0
votes
1answer
549 views

Column 'ListId' does not belong to underlying table ''

I am trying to run the following code I found somewhere here, but I got this exception on this line DataView dv = new DataView(dtResults); using (SPWeb web = properties.GetWeb()) { ...
0
votes
1answer
66 views

Strange exceptions ocurring

I am having very big trouble with features, my feature has the following site columns content type list tempalte list instance After fighting a lot, I removed the feature and created them again in ...
1
vote
2answers
369 views

How to upgrade a specific aspx or ascx file in an existing solution

In the current project, the solution is already existing, the solution has like 5 features and each feature deploys different things. The current development never used feature versions. So I ...
0
votes
1answer
146 views

Custom list Feature problems

I created a custom list definition, which works well. When i deploy, the list definition is added, when i retract, the list definition retracts properly. I also created a list instance from said ...
1
vote
3answers
607 views

How can I provision a page using a page layout from another feature?

I have a generic feature, feature #1, that will be deployed to multiple site collections and will include some standard page layouts include one called OneColumn.aspx. I have another feature, feature ...
1
vote
1answer
403 views

Error Deploying Solution - returns The feature path 'myfeaturename' must be of the form 'directory/feature.xml'

Let me start out by saying I'm sure WSP builder or STSdev is the way to go, but I can't use those where I work, so I'm having to do this all manually. So here's where I am. I have created a simple ...
0
votes
3answers
4k views

How to add SP2010 module elements with “published” state?

I use a feature to deploy a master page to a SharePoint 2010 publishing site. I use VS 2010 SharePoint projects. The feature deploys the .master , some CSS files and some images. Everything works OK ...
0
votes
1answer
61 views

Deploying an individual feature

I am using sharepoint software factory and have a number of features within it. How can I deploy an individual feature to my local dev farm, as opposed to the whole lot? Thanks
0
votes
1answer
148 views

XML Dictionary - how to provision with feature and read it?

I have an visual webpart and I need to populate drop down with content extracted from xml file. How can I provision that XML file with feature and then how can I access it from my codebehind to be ...
1
vote
2answers
450 views

Managing WebParts with dependencies on Web scoped Features

I have a Web scoped Feature which provisions a number of Content Types, List Templates & Instances, Custom Actions etc that enables a discrete set of functionality. I also have a number of ...
3
votes
1answer
704 views

Sandbox Web Part without Site Collection Administrator permissions?

Is there a way to get a Sandboxed Web Part deployed without Site Collection Administrator permissions? Here is the situation: I have Full Control permissions of the Site Collection's Root Web, ...
1
vote
2answers
1k views

Activating OOTB Features Fails

I have a Farm with multiple Site Collections. One of these Site Collections refuses to activate 4 specific Out-of-the-Box (OOTB) Features, namely: aebc918d-b20f-4a11-a1db-9ed84d79c87e ...
1
vote
1answer
197 views

Issue with the survey list settings?

Have created a feature(list provisioning) to update the "showuser" property of the survey list and stappled on the webapplication, it works perfectly fine and sets the list property when the survey ...
2
votes
4answers
4k views

List does not exist error trying to deploy feature to subsite

I have a root site collection and a user control stored in controltemplates. http://root I have another site collection under here http://root/fs which also uses this user control but uses its own ...
3
votes
1answer
1k views

Changing SharePoint 2010 Feature name and installation directory after deployment

I need to change the name and installation directory of some features that are already deployed in a client's environment. I can change the feature name from the feature designer, and change the ...
2
votes
3answers
676 views

Feature with scope Web only on RootWeb

I have just a small Question: Can I tell a feature with scope "Web" only to be activated on the RootWeb in Feature.Template.xml? Something like RootWebOnly="TRUE" I have a listInstance ...
3
votes
2answers
394 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 ...
0
votes
1answer
69 views

How do you activate a feature on promotion?

When promoting a wsp and you have 1 or more features you wish to activate as soon as promoted, how do you do so without manually activating them on the site they are deployed to?
0
votes
2answers
524 views

MOSS 2007 : stsadm -o preupgradecheck found missing feature files for features still active in deployment

This is the last thing I have left to fix to pass the pre upgrade check. There are a three features that are referenced by the content but not installed on the server (not sure how this happened). Two ...
0
votes
1answer
349 views

Enable-SPFeature CmdLet Not Creating Lists Defined In Feature

I have written a PowerShell script to mimic Visual Studio's Deploy command. Specifically, I need the lists defined in a Feature to be deleted, the solution updated and the Feature activated with blank ...
1
vote
0answers
260 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: ...
1
vote
2answers
228 views

List Features that are part of a Solution Package

As part of a migration from SharePoint 2007 to 2010, I am cleaning up old features that are no longer used and/or would have compatibility issues with the upgrade - mainly the old FAB40 templates. To ...
2
votes
1answer
253 views

Is it possible to add page layouts/web parts using a feature activated in a sub site?

I'm trying to keep my code as organized as possible, and in doing so wanted to create sub sites (sub projects) that contain their own page layouts and web parts etc. Is it possible for me to put these ...
1
vote
1answer
250 views

Publishing feature in Sharepoint 2010: Groups

Someone told me a while ago that it isn't recommended to delete the groups that are created when activating the publishing feature on sitecollection-level. Anyone who has an idea why? I'd like to keep ...
1
vote
1answer
526 views

Errors migrating from custom list with SharePoint 2010 upgrade

In MOSS we exposed a custom list definition to users instead of the Shared Documents library. Now, we are trying to convert all those list instances to use the out of the box list. It seems that ...
2
votes
1answer
49 views

Feature Deployment with more than 1 server

When you have a SharePoint farm with more than 1 server. If deploying a feature what servers do you need to run it on. Does the power shell commands you use change? For example in my farm I have a DB ...
1
vote
0answers
20 views

In SharePoint 2007 what feature or solution added the WebPart Page Doc library templates?

In SharePoint 2007 what feature or solution added the WebPart Page Doc library template? We have it on one Farm, but not another. Is it part of the Fab 40? A site feature or a Site collection ...
1
vote
1answer
83 views

Aggregate Content Types

What's the best way to support aggregate data structures using content types? For example, if I have an order processing system, then I might have data types like Order and OrderLineItem, where each ...