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

learn more… | top users | synonyms

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 ...
1
vote
1answer
731 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 ...
2
votes
2answers
905 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 ...
4
votes
1answer
3k views

Adding Features during Solution Update

Is there a supported method to add features during a solution update. We call Update-SPSolution and then upgrade our old features using SPFeature.Upgrade but any new features in the solution do not ...
1
vote
3answers
616 views

Inject javascript into a page from a feature

I want to add a verb (link in the top left menu of a web part) to all the web parts in Sharepoint 2010. Is there a way to inject javascript into a all the pages from a custom feature?
0
votes
1answer
44 views

Feature to Add a Site (web) based on Team Site

Is there a good link that can show how to add a sub-site under the existing site collection based on "Team Site" (STS#0) Template? (the sitecollection url is http://local/sites/Amtrack). The url for ...
0
votes
3answers
1k views

Create subsite using custom site template programatically

I Have a requirement where when a list item is created , a new subsite sould get Created using custom site template.(MOSS 2007) User should be able to select the custom template(present in site ...
1
vote
1answer
3k views

SharePoint Feature - adding reference dll in package?

I have a feature which is referencing a custom library. How can I include this dll in the SharePoint 2010 package so that it is registered in the gac?
0
votes
1answer
416 views

Get the current List and Item from an application page accessed from a feature link

I've created a new feature for a specific list. This new feature will show a button in the EditToolBar of a list page when editing. After clicking that new button, it should take you to another page ...
1
vote
1answer
76 views

Sharepoint Blog Deployment

I modified the aspx files with Sharepoint Designer of the default sharepoint blog to change its layout. Now, I'd like to know if there is a way to package that in a feature or something like that to ...
0
votes
1answer
248 views

Access denied to list created via ListTemplate in a feature

I've created a feature to create an instance of a custom list. The provisioning part of my feature is: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <ListTemplate ...
1
vote
1answer
446 views

Declaratively pass parameters to a feature using activationdependency?

is there a way to declaratively pass parameters to a feature using activationdependency? I have a feature defined in ONET.XML that i want to move to a feature stapler, but since it has a property ...
0
votes
2answers
796 views

MOSS 2007 - Custom Aspx Pages Created With Feature

(I have also asked this question on Stack Overflow) I have a SharePoint feature I'm using to add some custom aspx files to the Pages Library. When I activate the feature, I can visit the pages ...
2
votes
4answers
2k views

GAC'ed assembly storage location?

When you deploy a feature with assemblies that get registered in the GAC, where do these assemblies get stored? I thought this would be an easy thing to find, but apparently my Bing-foo is weak today. ...
3
votes
2answers
1k views

Convert SharePoint 2007 features in VS2010 feature designer

Does anybody have experience moving SharePoint 2007 features from VS2008 to VS2010 using the new feature designer? I currently have a C# class library project that has a "12" folder with a bunch of ...
1
vote
1answer
231 views

WebDeleting Event for New Sites created ? ?

I am using the WebDeleting event which is based on features. Just activate the feature, and whenever a web is getting deleted, the event handler throws a message saying "Web can't be deleted". ...
2
votes
1answer
426 views

Features Overwriting Each Other Changes in Web.config

We've two features both are designed to update (and modify) the web.config. One feature doesn't have any interface it is a SPJob which run on feature activation and copy user controls into web ...
0
votes
2answers
167 views

Internal messaging in SharePoint

Are there any built-in templates/features in WSS3.0/MOSS 2007 that provide internal messaging functionality? Not email integration -- I'm thinking of the kind of internal messaging between members ...
0
votes
1answer
574 views

Problem with defining Site Columns in a feature

Why the titles are blank (for example, I go to setting, site columns and select the group. I see all four columns but their title are missing. like, pobox, firstclassdate, deliverytype, carrier) for ...
2
votes
2answers
369 views

Defining using xml a content type, custom column and list instance in single feature

Is it possible to define a content type, a custom column, a list instance and associate the contenttype to the list using xml, all within the same feature or do they need to be seperated into seperate ...
2
votes
1answer
418 views

Content types and list forms

I've encountered the strangest problem. I've got two features: ContentTypes: contains a couple of custom fields and a content type (based on plain ol' 0x01) called Withdrawals that uses them. Scoped ...
0
votes
2answers
365 views

Global Document Library Column

I was asked a question today that I didn't have an answer to. There's a requirement to tag all documents uploaded to any document library within the web application with a selection from a choice ...
2
votes
2answers
69 views

Add a complex service as part of a feature install

I'm wondering if anyone can point me at the best practices for installing a complex service (basically, an entire web application) into SP when doing a feature install. We have an existing web ...
1
vote
1answer
510 views

How to modify the Feature Activation Workflow? [duplicate]

Possible Duplicate: How can I show an Application page on Feature Activation? Is it possible to modify the Feature Activation Workflow? For example, you have developed a Feature that ...
5
votes
1answer
772 views

How can I show an Application page on Feature Activation?

We are developing a custom module for SharePoint. The custom module is based upon SmartPart which means we have created UserControls. There was a problem with SmartPart deployment method as it ...
4
votes
2answers
3k views

How to access a file in the current url or _layouts folder?

My code behind code from the aspx webpage uses a transform.xsl to do some custom xslt transformation. Scenario 1: Try to get the file from the _layouts folder. SPWeb web = SPContext.Current.Web; ...
1
vote
1answer
161 views

How to setup a database on custom module installation (or feature activation)?

I've developed a custom module on SharePoint which uses a different database from the SharePoint database. How should I setup this database? Should I show a database configuration form when you first ...
2
votes
2answers
221 views

Convert SPD Based site to use Features / Solutions

I've inherited the maintenance and development of a client's MOSS 2007 website. The website has been maintained via SharePoint Designer since it's launch. We do actually have copies of some feature ...
4
votes
1answer
145 views

How to create a feature from aspx pages customized in SharePoint and SharePoint Designer?

I've created some Lists and Custom Views/Pages (aspx) using the web-interface from SharePoint and SharePoint Designer. What steps do I need to take to create a Feature which contains all the Lists ...
1
vote
1answer
314 views

Order the features are retracted in a solution (VSeWSS1.3)

I am forced, against my will and all common sense, to turn my series of WSP Builder solutions into VSeWSS 1.3. So far, i have encountered, conquered and totally knocked down every illogical, ...
2
votes
2answers
672 views

Editing web.config file from a feature using linq

I have custom web.config functionality that uses Linq to merge elements into a web.config based on a template file. I would like to use this in a feature so I can get it to merge all web.configs in a ...
1
vote
1answer
715 views

Feature 'a0f95442-e28c-41ff-afb0-c68341c014e7' for list template '108' is not installed in this farm

After uninstalling Enhanced Wiki 2.0 Beta, whenever I go to Site Actions -> Manage Content and Structure I get the following error. Reinstalling the feature resolves the problem, but after uninstall I ...