Tagged Questions
0
votes
1answer
39 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/">
...
2
votes
1answer
108 views
SPListCollection.EnsureSitePagesLibrary() throwing SPException (specified title already exists in this Web site)
I am attempting to call SPListCollection.EnsureSitePagesLibrary() upon FeatureActivated. The method is throwing the following exception:
Microsoft.SharePoint.SPException: A list, survey, ...
0
votes
1answer
45 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.
...
0
votes
2answers
62 views
How do i create a feature in web template?
I have created a web template in visual studio, it includes the standard element file and onet file, it also has a feature which is scoped to site level.
All this works fine, i can deploy it and can ...
0
votes
1answer
41 views
Sharepoint Feature Creation Approach
I want to create a feature, once the feature is activated by the administrator a number of lists, items and workflows will be created.
What would be the best approach to implementing this?
The ...
1
vote
1answer
465 views
removing a sharepoint solution duplicates entry in web.config?
My intentions is to be able to add and remove web.config changes when a solution is installed or uninstalled.
The code below and the powershell below works ALMOST as expected.
When I add sp ...
0
votes
1answer
101 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 ...
1
vote
2answers
1k 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: ...