Tagged Questions
0
votes
0answers
28 views
Features in Sharepoint 2010
I created an empty Project and used the default Feature1 thats created with the project to then create the following:
public override void FeatureActivated(SPFeatureReceiverProperties properties)
...
0
votes
0answers
110 views
Set Record Declaration Settings programmatically
I created a feature receiver whereby on activation will activate and set certain features and its properties. One of that feature is InPlaceRecords. Below is my code in the FeatureActivated method:-
...
0
votes
3answers
560 views
rootWeb.AllProperties[“__InheritsCustomMasterUrl”] = “True”; not working
I am developing a branding project, in this project i have custom master page, i can successfully deploy it and automatically apply to the root web. But i want all the subsites inherit the master page ...
1
vote
3answers
321 views
How to activate feature in a custom site
I have created a publishing web template. Now I need to activate a feature once the site is provisioned.
In order to achieve this, I've created an event receiver with something like this:
public ...
1
vote
1answer
66 views
Access exceptions when trying to add a content type to list
In the following method, 'list' is simply an SPList ("Documents"). I'm attempting to add ContentTypes to the list and then update it. This code is found in the FeatureActivated event of an event ...
0
votes
2answers
480 views
“Thread abort exception” in event receiver after adding a solution?
I am developing an event receiver for the web provisioned event. It does quite a few things, culminating to add and deploying a solution and activating a feature from it.
When I do the following:
...
2
votes
0answers
111 views
Site is Provisioned but Content Type List is still empty
I have this feature that I am trying to run in order to configure a site, this feature among other things creates pages based on content types, etc. The problem I am facing is that everytime i am ...