Tagged Questions

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

learn more… | top users | synonyms

1
vote
1answer
635 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
266 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 ...
0
votes
1answer
2k 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 ...
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
550 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 ...
1
vote
1answer
807 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
263 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
3k 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 ...
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 ...
0
votes
2answers
759 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 ...
2
votes
1answer
456 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
359 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/"> ...
0
votes
1answer
186 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 ...
2
votes
1answer
3k 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 ...
1
vote
2answers
1k 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
3answers
2k views

Powershell Deployment - Enable-SPFeature Error

I get the following problem activating a feature in powershell: Enable-SPFeature : The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: ...
0
votes
1answer
364 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
3answers
637 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
305 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
2answers
282 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
88 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 ...
2
votes
0answers
264 views

How to customize Feature image for a SharePoint 2010 Sandbox solution? [duplicate]

Possible Duplicate: Own Feature-Icon in Sandbox Solutions Ok, as usual, after searching for a solution on the rest of the net, here I am on StackExchange :) How can I stuff a PNG image in ...
1
vote
1answer
180 views

Stapled Web-scoped feature depending on Site-scoped feature: possible?

I have three features in a solution: A Web-scoped feature (A): has a FeatureActivated call to set up a site A Site-scoped feature (B): contains web parts A uses A stapling feature (C): staples A to ...
0
votes
2answers
329 views

how to remove pagelayout while deactivating the feature

I am facing an issue regarding deactivating a feature which is having some page layouts. I am removing the page layout from the folder. Here comes the problem, when I am trying to delete a page ...
1
vote
1answer
584 views

Unable to delete group without being site collection administrator

I have a Sharepoint Group (SPGroup1) whose owner is User1. User1 has full control over the root web site (and all its sub-sites), however it is not a site collection administrator. When I log in as ...
0
votes
2answers
340 views

How to remove the unwanted parent content type site column from the custom list definition

I managed to create a custom contenttype(based on the item contenttype) using the feature with five site columns. Defined a list definition based on my above custom contenttype. All of custom ...
1
vote
2answers
732 views

Features listed in ManageFeatures.aspx that should not be there

I go to ManageFeatures.aspx and I see bunch of features that don't belong there and they are not in the 14 hive's feature folders. I go to the backend database and look in alldocs, features, and ...
6
votes
2answers
7k views

How to remove orphaned features

I found some orphaned features under "_layouts/ManageFeatures.aspx?Scope=Site" but they do not show up when I list them up with powershell (get-spgetfeature -site url). They are not in 14 hive and ...
1
vote
2answers
738 views

Creating site column without using features

I am trying to create a site column in VS2010 without using features. Is this possible? If yes, please let me know where I can start looking. I don't want to use feature because feature comes with ...
1
vote
3answers
1k views

Locate a FEATURE on SharePoint root

If I want to know elements of a particular FEATURE (any scope) before I hit the Activate button, I need to locate the FEATURE on SharePoint root. I want to know what's the best way to locate the ...
4
votes
1answer
162 views

Feature Scope Problem

I am having an heck of a time trying to get two separately scoped solutions to work together. The first solution is scoped for Farm and does nothing more than add a custom SPDiagnosticService. When ...
1
vote
2answers
337 views

Delegate control appending to page while feature is deactivated

I have a delegate control that is appending to the AdditionalPageHead. This delegate control is appending a custom class of mine that inherits from Control. It runs some logic, and when appropriate, ...
1
vote
1answer
432 views

How to create Menu Webpart in WSPBuilder

I am using WSPBuilder. I want to create the package that includes the MenuItemList and MenuWebpart. Requirement is create the feature for MenuItemList which holds the menu items. Webpart should fetch ...
1
vote
1answer
900 views

sharepoint 2010 - get name of custom site template

How to get the complete name of the feature [see last 2 name , basically they are custom created templates] Can i change the name which is basically the feature id with the custom name ?
4
votes
1answer
6k views

Sharepoint 2010 - Deploy webpart as Feature scope = web

I want to create and deploy a web part as web-scoped feature. In Visual Studio 2010, when I make the feature scope=web, I cannot add the webpart to that feature as I am able to do when scope=site.
2
votes
2answers
809 views

Error activating feature

I have created a solution package for Sharepoint 2007 and have installed and deployed it on a development server. However, when I go to activate it through Site Features, I'm given a lovely page of ...
3
votes
1answer
670 views

Error deploying WSP package

Error: Cannot find this file specified in the manifest file: ChangeContentTypeEventHandler.dll I'm getting this error when attempting to deploy this solution to the Sharepoint environment. Here is ...
2
votes
1answer
177 views

character problem in webpart title after exporting a site

After i have creat a site collection (in french), i save it as a model, open it in Visual studio, change the scope of a feature, package it and deploy it on the farm and create a new site collection ...
2
votes
2answers
2k 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. ...
3
votes
2answers
360 views

Can't make a new instance of a custom document library

I am following the instructions of Cory Roth on how to create a custom document library in 2010 which can be found here ...
2
votes
3answers
333 views

Sharepoint feature still running after being uninstalled, files removed, IIS restarted

I had created a feature that changes the content type of a folder when it is created, which works fine. However, I wanted to make a change to it by adding another folder for it to work in but after ...
6
votes
1answer
845 views

Problem Extending SPDiagnosticsServiceBase

I am trying to create a feature that Extends the SPDiagnosticServicesBase class following the code described in MSDN That article has example code for extending the SPDiagnosticServicesBase class ...
4
votes
1answer
639 views

Including Description with Page Layout

I'm deploying a couple of custom page layouts as part of a feature for SharePoint 2010, and am having issues including the description with the page layout. I'm looking to include descriptive text as ...
1
vote
2answers
385 views

Add custom properties to 'Edit Mode' in publishing site - Create as wsp

I have 2 custom fields that are associated to the publishing features Page content type. While looking at the page, in the ribbon, I can click on Edit Properties to view all of the properties of my ...
1
vote
2answers
885 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 ...
3
votes
3answers
2k views

Unable to modify SPWebApplication properties from feature receiver - Access Denied

The scope of the feature is Web. SPWeb site = (SPWeb)properties.Feature.Parent; site.AllowUnsafeUpdates = true; // Set the Web Application's default error page SPSite siteCollection = new ...
6
votes
4answers
355 views

What is the recommend way to share a single element between multiple features?

In my Visual Studio 2010 SharePoint Project I have a single SPItemEventReceiver that is contained in its own Elements.xml I have 2 site collection features that are mutually exclusive they are never ...
4
votes
1answer
4k views

The field with Id [GUID] defined in feature [GUID] was found in the current site collection or in a subsite

I have a farm solution with a single feature that has a bunch of site columns and a content type. The content type does inherit from Enterprise Wiki Page, but the feature has an activation dependency ...
3
votes
1answer
2k views

Deploying a custom page under the Layout folder using a Feature

I have customized the "EditProfile.aspx" page and want to deploy it on the QA using a Feature, is it possible to deploy a page under the "_Layouts" folder using feature. Tried with the below Feature ...
6
votes
5answers
2k 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 ...