set of functionality that can be turned on at a particular scope level
0
votes
1answer
127 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
347 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
536 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
783 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
143 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
2k 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 ...
2
votes
1answer
847 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
420 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 ...
2
votes
2answers
267 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
68 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
377 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
241 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 ...
12
votes
3answers
3k views
How do I find in which (sub)sites a WebPart/Feature is used?
I need to find out on which (sub)sites a certain webpart is used. In a data sharing environment with many subsites and pages, I want to check if and where certain (third party) webparts are used. Is ...
1
vote
0answers
126 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
187 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
175 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
172 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
412 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
47 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
18 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
72 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
414 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
716 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
133 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
1k 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
341 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
2answers
777 views
Moving BDC models from server to server
I have created a BDC model and deploy it through a feature. The feature has to have a SiteUrl as specified in the feature xml below. However when I move the feature from say the development to test, ...
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
485 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
948 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
236 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
2k 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
399 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
189 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
454 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
55 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
358 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
293 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/">
...
1
vote
1answer
847 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 ...
0
votes
1answer
101 views
Versioning and upgrading features with SharePoint 2010 [closed]
I've been experimenting with feature version-ing and upgrading in Sharepoint 2010 and found a bunch of blogs, documentations etc. but it is still not very clear to me.
How does Sharepoint store the ...
1
vote
2answers
767 views
How to trace the ListAdded event for the entire SharePoint 2010 farm?
In our SharePoint 2010 environment, we want to enforce the users to choose the option "show user names in the survey list" (survey list) however there may be a time when user may choose "No" to this ...
1
vote
2answers
573 views
How to order a group of web parts added dynamically?
Preface: I did not come up with this implementation, just dealing with it.
I have a web part zone that gets 3 content editor web parts loaded into it dynamically through the feature receiver. The ...
2
votes
2answers
1k 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. ...
5
votes
3answers
4k views
Is there a list of Sharepoint 2007 WebParts, Features and ContentTypes that Sharepoint installs with?
Does anyone know where I can find a list of all the WebParts, Features and ContentTypes that are available to a regular Sharepoint installation?
What I need to do is identify any of the above in a ...
1
vote
3answers
377 views
Reading the Feature.xml or Elements.xml file that has been installed to sharepoint
Reading the Feature.xml or Elements.xml file that has been installed to sharepoint
What I want is to be able to see what has been installed to sharePoint, not what is on the hard drive in the ...
2
votes
0answers
188 views
Why does WSP Deployment Type 'ApplicationServer' require features to be manually installed?
When I create a WSP with Deployment Type set to WebFrontEnd and deploy, all of the features contained within are automatically installed. Features that are set up as ActivateOnDefault="TRUE" (Farm or ...
2
votes
1answer
209 views
Deleting Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows
how delete Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows.
1
vote
2answers
84 views
Extending features functionnalities?
Features in SP allow us to perform a limited set of operations. Fortunately, Microsoft created the feature receiver class to allow us to perform additional operations.
However, in a more ...


