Defines methods that are called when a Feature is installed, uninstalled, activated, deactivated, or upgraded.

learn more… | top users | synonyms

1
vote
1answer
213 views

Deployment Issue with Custom FIeld Types

SHORT DESCRIPTION Custom Field Types are not being correctly deployed/activated on all but one Virtual Machine. I have several VMs with identical SharePoint environments. I have a Visual Studio ...
0
votes
1answer
23 views

When uploaded file from an external program, ItemAdded is not fired

I have an event receiver which works/triggered when I manually add document by click 'Add document', but the same in not working/triggered when an external application is uploading the document. For ...
0
votes
1answer
89 views

Unable to see timer job

I have created a custom timer job, which contains a feature. I have successfully activated the feature on my web application, but it does not show up under the job definitions. Feature.xml is as ...
0
votes
1answer
169 views

Documents list not exsists when activating feature

I have created a custom web template based on Team Site and added a spweb scoped feature to add a list view web part to it. It throws an exception when it comes to web.Lists["Documents"] and says ...
0
votes
1answer
69 views

Remove a list from all site collections when a feature is uninstalled

I have a site scoped Feature which specifies a list as such: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> ...
0
votes
1answer
103 views

Add custom code for solution upgrade

I have a solution for SP2010. Let's call it s.wsp. I had version 1 of s.wsp and now I have version 2 of s.wsp. Versions 1 and 2 share three common features: A, B and C. Version 2 adds a new feature D. ...
1
vote
0answers
48 views

How to get SPFeatureDefinition for Generic List in sandboxed solution

When creating custom list programatically from schema Add method needs SPFeatureDefinition object of the base list used. SPListCollection.Add method (String, String, String, String, Int32, String, ...
0
votes
0answers
17 views

Feature Stapler not working

I have created some branding for the SharePoint 2013 MySites with a feature stapler so that it can also add the branding to the Blog, Apps and Tasks but it's not working. The branding applies to the ...
0
votes
0answers
12 views

Web Application level feature is reactivated during re installation of solution

I have Web Application level feature and its getting reactivated during deployment. Below are my feature properties, Activate On Defult: True Always Force Install: False whatever the value I have ...
0
votes
0answers
20 views

How to add color to calender in programatically using event receiver?

When ever an item is added into the calender using event receiver 2012. It need to check category column values based on selecting category color should change in sharepoint2013. Example:-If ...
0
votes
0answers
309 views

FeatureActivated is not firing after activating feature in code-behind

I've a strange problem with activating a feature from C#: I have a list with a event receiver attached, which creates a new sub-site every time a new listitem has been added: var newWeb = ...