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

learn more… | top users | synonyms

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 ...
5
votes
5answers
2k views

Include JavaScript in a feature

I remember seeing somewhere that you can include an external JavaScript file in a SharePoint feature if it is in the _layouts folder. For the life of me I can't remember how to do this!
1
vote
2answers
871 views

Enable Team site for a publishing site?

How to enable team site for an existing publishing site?
12
votes
3answers
8k 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 ...
3
votes
3answers
2k 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, ...
1
vote
0answers
190 views

featureactivated is not firing [duplicate]

Possible Duplicate: Is feature activation code allowed in Web Template Project? I am working on web template (aka site template). It a farm level solution so vs 2010 automatically added a ...
4
votes
2answers
8k views

The site template requires that the Feature {GUID} be installed in the farm or site collection

I thought Microsoft did a good job documenting sp2010. I am so frustrated that I can't find anything related to this. I have a web template project. All I want is to run bunch of code when a web is ...
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 ...
2
votes
3answers
4k views

Can I activate the Sharepoint Server publishing Infrastructure feature at the site collection level within a sandbox solution?

I have this code which works in a farm solution, but not in a sandbox solution. Is it possible to do this with a sandbox solution? The table in this link ...
2
votes
1answer
230 views

Why am I getting issues with a WSP imported into Visual Studio?

I imported a WSP (site template) in VS 2010 and compiled. I then tried to create a package (build > package). I am getting all sorts of issues. Why is that? The site templated was created using an ...
3
votes
3answers
4k views

Activating Publishing Feature breaks because of custom Master?

This issue is related to this post. I get an error message when the publishing feature is activated on sites of certain types. This means that I also get an error message when I create certain sites ...
2
votes
2answers
1k views

Can't activate Publishing Feature

On some sites I get the following error when trying to activate the publishing feature. Event log message was: 'Failed to initialize some site properties for Web at Url: 'http://intranet/social'. ...
3
votes
1answer
522 views

Deploy an image in a feature

I am creating a feature which adds an option to the ECB. I want to have a custom icon/image. In my Visual Studio 2010 project I have created a TEMPLATE/IMAGES/proj folders. I have added my image to ...
4
votes
1answer
695 views

Deploying custom page into the pages library using a feature in SharePoint 2007?

I have a custom page and want deploy it into the pages library of the site using a feature in SharePoint 2007. Whenever the activated the page should added into the pages library and should removed on ...
0
votes
1answer
537 views

Corrupted OOTB Workflows Feature from SP2007 to SP2010 Upgrade

We recently performed a database detach upgrade method and the out of the box workflows: Approval, Collect Feedback and Collect Signatures are all missing from the Workflow Templates when trying to ...
2
votes
1answer
137 views

Redeploying a list provisioning feature

I created a site definition to use as the base for project workspaces. I then staple features to the definition as needed. In one of the features I instantiate lists and document repositories. I ...
24
votes
7answers
5k 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 ...
4
votes
4answers
700 views

Can you hide the publishing Feature

I've been asked to Hide the Publishing Feature for the farm in Sharepoint 2007. Now I can go on the file system and change the feature definition but as we all know messing about on the 14 hive with ...
0
votes
3answers
457 views

Create field definition with a type equal to Lookup (Count Related)

Reading over this link: http://blogs.msdn.com/b/jackiebo/archive/2007/02/23/lookup-count-related-the-magic-behind-sharepoint-s-comments-column.aspx I've decided I want to add this to a feature ...
3
votes
2answers
533 views

How to deploy custom theme + css + masterpage and apply it automatically to every newly created Team site

Greetings... Well, the title pretty much says it all. Users will be able to create numerous new team sites, and I need to make sure that custom theme and css are automatically applied. Also, I need ...
2
votes
1answer
870 views

How to update choice field options with a feature upgrade?

I created a feature with a field definition with choices. These choices are bound to language dependent resources using the $Resources:file:key system. Resource files are included. As the feature is ...
1
vote
2answers
1k views

How should I programmatically customize the “My Profile” page (person.aspx)?

I am trying to customize the "my profile" page (person.aspx, "my site host" site collection) in SharePoint 2010. For example, I would like to: Add/delete some webparts Delete links from top ...
0
votes
1answer
362 views

Can I create WSP that deploys a file to 80 directory?

I have an existing WSP project with some features in it. I need to deploy a file to SharePoint 80 folder. Is this possible? I tried just putting it in project's 80 but WSPBuilder, which I use for ...
1
vote
2answers
174 views

How to troubleshoot a feature designed to replace the SmallSearchInputBox?

I have been trying to create a feature which replaces the SmallSearchInputBox delegate in SharePoint 2010. I have a new control which I placed in ~/controltemplates and created an element and feature ...
2
votes
2answers
1k views

Create Site Column (lookup type)

Is there any solid (proven) method of creating Site columns (lookups) where list GUID is not known? I think this is where feature activation kicks in; getting the lookup list by its name and then ...
3
votes
3answers
8k views

Access Denied when trying to activate a feature

I am trying to activate a sharepoint feature in 2010. When I try to activate it I reaceive the "Access Denied" error message. I am an admin on the server and a site admin on the site I'm trying to ...
2
votes
2answers
899 views

Understanding Sharepoint feature scopes

I have read the article about Understanding Scope of SharePoint Features and the MSDN documentation on Feature Scope. So from what I understand you can activate a feature for the following scopes: ...
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
3answers
892 views

Error deploying feature in SharePoint 2007, but not in 2010

I'm getting the following error when I try to deploy a feature to SharePoint 2007. The feature deploys without any problems to SharePoint 2010. I've checked the PublicToken and the one in my ...
2
votes
3answers
3k views

How do I clean up missing server side dependencies from a “dirty” installation?

After a rather hasty (unavoidable) migration/reconfiguration of a SP 2010 Foundation box, I am left with an error in CA regarding a number of missing Features, SetupFiles, and WebParts. I redeployed ...
1
vote
3answers
4k views

Error When Instantiating a Site Template in SharePoint 2010: “The site template requires that the feature {068bc832-4951-11dc-8314-0800200c9a66}…”

I gave a talk at the most recent BASPUG meeting about developing in the Middle Tier. I used a SharePoint 2010 site for the demos and would like to make it available to the folks who are interested in ...
0
votes
1answer
778 views

Site Collection Feature won't go away

I have a custom Feature, with Site Collection scope, that won't go away even after I delete the Web Application, the Content Database, the IIS Web Site. I have uninstalled the Solution that ...
1
vote
2answers
2k views

Which Feature Scopes are right for me?

I'm developing a site using SharePoint Server 2010 in Visual Studio 2010. I'm having trouble determining which Feature Scopes are right for my features. I have a feature which includes a custom ...
3
votes
2answers
1k views

Possible to have Infopath form deployed in a feature? SP2010/VS2010

I'm using new VS2010 Sharepoint Project. I can add a site column, content type, list definition without any problem. Is it possible to also have an InfoPath form included in a Feature? I want to be ...
0
votes
1answer
143 views

Where do the files deployed through a feature module live?

A few questions regarding what happens to files deployed through a module element in a solution feature. Let's assume it's a partial trust (sandboxed solution). Let's also assume these are static ...
1
vote
1answer
419 views

Changing directory name of features in SharePoint 14 Hive - Impact on already deployed features?

I'm moving from a WSPBuilder based SharePoint 2010 solution to a Visual Studio 2010 based solution. After porting the WSPBuilder based solution to a plain Visual Studio based solution I tried to ...
4
votes
4answers
1k views

Can I deploy a feature with a configuration value?

I have a feature. This gets compiled into a WSP package, and installed on a particular SharePoint server. So far very standard. But - the feature deploys a custom timer job. The custom timer job ...
1
vote
1answer
159 views

SharePoint list template repackaged, forms now unavailable (“cannot get ghost document”)

I had a SharePoint solution with a number of features packaged inside. I can't list them here, but it looked something like this: Features (Scope): (Site) MyDocument Content Type (Site) Log List ...
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 ...
2
votes
3answers
3k views

How to deploy a web-scoped feature in visual studio SharePoint Project to a specific site in the Site collection?

I have a visual studio SharePoint site that contains a list definition and content type. I need this feature to be activated on a specific site in the site collection. I set the feature scope to ...
0
votes
2answers
476 views

Why is my custom publishing feature not activating?

I am using Windows 7 64 bit and doing quite a bit of local dev. Today, I went to create a publishing site or enterprise wiki and I get the following error message: Dependency feature with id ...
0
votes
2answers
1k views

Missing several feature definitions - an obstacle to b2b upgrade

During my attempt to join second server to a SharePoint Server 2010 farm I encountered a problem of missing features. [PSCONFIG] [SPFarmSequence2] [INFO] [11.11.2010 10:06:34]: SPFarm ...
1
vote
1answer
114 views

Disable 'Enable SharePoint Designer' through feature?

Is it possible to disable the SharePoint Designer Settings - 'Enable SharePoint Designer' within a feature activation event? thx
0
votes
2answers
167 views

Display Contents of List in WebPart

How to make a feature to display the contents of a list in WebPart?
1
vote
1answer
738 views

How do I get an SPFolder from the UniqueID?

I have the Unique ID for an SPFolder object. I also have the SiteID that it is located at. How can I (in C# from a SharePoint feature) get this item starting from the Site? Is there a way to do it ...
4
votes
2answers
2k views

Remove list instances upon feature deactivation

I have a feature put together in Visual Studio 2010 that creates 3 external list instances. These get created just fine when the feature is activated, but upon deactivation they remain on the ...
3
votes
3answers
2k views

How to efficiently deploy content types to a Content Type Hub

I have set up a Content Type Hub and tested the syndication is working correctly by creating a test content type and watching it be published to the client site. Then I deployed the content types I ...
2
votes
2answers
921 views

How to deploy a delegate control in the same feature as custom actions?

I'm trying to deploy a delegate control in the same feature as some custom actions. All the actions are deployed and work correctly. However, the control is not being deployed. If I create a new ...