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

learn more… | top users | synonyms

1
vote
3answers
138 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
119 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
491 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
337 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
532 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
365 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
147 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
438 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
663 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
185 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
3k 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
610 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
363 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
486 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
330 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
232 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
221 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
246 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
245 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
504 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
81 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 ...
0
votes
2answers
676 views

Feature Upgrade Retract Deploy Power Shell Commands

I have heard that one way that you can upgrade a feature in SharePoint with new files is to do a retract deploy. I believe this is what Visual Studio 2010 does when you do a Deploy. What are the Power ...
0
votes
1answer
990 views

Can fieldrefs in content type definitions change the internal name of a site column?

I have a content type that references a built-in site column like this: <Elements ...> <ContentType ...> <FieldRefs> <!-- a reference to the built-in ...
5
votes
3answers
149 views

Understanding features

So when I make a sp2010 solution, it includes a "feature". Am I right in thinking that a feature is a deployable package? I have a Sharepoint 2010 solution in Visual Studio 2010, with lots of ...
4
votes
1answer
2k views

Why won't my site column deploy from an elements file?

See Can site columns be deployed in sandboxed solutions? for background on this. I've tried to reproduce the sandboxed feature with a site column as built by Hilton Giesenow shown on How Do I: Create ...
3
votes
1answer
55 views

Adding files to a deployed feature

How do you add new files to a feature that have been deployed? Are there any gotcha's that you need to worry about?
0
votes
1answer
535 views

Event receiver feature update

I am developing an event receiver in VS2010. To test the event receiver I deploy it to development using the functionality within VS 2010. This works without problems. However my concerns start when ...
3
votes
1answer
1k views

How to hide a ribbon tab?

I would like to remove a custom tab on the ribbon. Is this possible with HideCustomAction? I have attempted using HideCustomAction with the location and HideActionId set for the desired tab to be ...
1
vote
1answer
588 views

Updating a feature images not updated

The systems team updated a feature for me. The feature added a new favicon and a new image. The new files added in my feature where not deployed to the style library. Existing files were updated. I ...
0
votes
1answer
1k views

How to get folder structure including items from list, without using webservices

I have a list containing folders and items. The folders are a custom content type based on folders, with some extra columns like URL and some Yes/No Checks. One contenttype can contain n items and ...
0
votes
1answer
260 views

Updating Page Layouts created with SharePoint Designer

The system I'm working on is a Publishing site that has page layouts created with SharePoint Designer. Users have created content pages based on these page layouts. I want to update the page layouts ...
2
votes
1answer
3k views

Does Update-SPSolution trigger a SPFeature.Upgrade()?

I'm looking into Feature versioning and upgrading in SharePoint 2010 and I don't know exactly if the Update-SPSolution cmdlet triggers a SPFeature.Upgrade(). Are <UpgradeActions> elements ...
1
vote
1answer
615 views

How to define a computed column

I'm creating a custom content type in I need two fields Submitter and Date Uploaded which would have the same values are CreatedBy and Created How do I define it? I have the following definition ...
1
vote
2answers
241 views

What are some of the best practices around feature activation and their dependencies

Specifically what are the do's and dont's for installing, activating, deactivating and uninstalling a feature. What are the problem areas of working with features and how do you handle.
2
votes
2answers
2k views

Enable feature of SharePoint sandbox solution

I have a .wsp file that is deployed to the remote server by powershell script. The solution is deployed successfully and I can see the solution feature in the site collection features, I can activate ...
0
votes
2answers
625 views

deploying custom css / javascript in listview

Simple question but I just couldn't find a simple answer. I want to add a little piece of css / javascript code to the AllItems.aspx view of a custom list upon deployment. I know how to get it there ...
4
votes
1answer
60 views

How can I add a global control to check user has updated her/his profile?

Is there any control/feature/webpart I can add to trigger a functionality globally in any page on a Sharepoint? I now have a webpart on the homepage that checks if a user is due to update her/his ...
2
votes
1answer
421 views

Supplemental .config File

I wish to make a change to the web.config file. I know you can do this by using a supplemental config file. I know that the file needs to be coppied to %ProgramFiles%\Common Files\Microsoft Shared\web ...
1
vote
1answer
335 views

VIsual Studio editing feature.xml

I am trying to create a a feature staple. To do this I need to create a feature and then edit the feature.xml to be like: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> ...
2
votes
1answer
2k views

How to handle 'Feature for list template is not installed in this farm' for custom lists

I have a feature in which I have a custom ListDefinition. Within the definition, I also have a ListInstance based off of the definition. When installing and activating the feature, these lists are ...