2
votes
3answers
163 views

Error when deploying SharePoint feature: The specified list does not exists

I'm using SharePoint 2010 Foundation and Visual Studio 2010 Ultimate. I'm working on a Web Parts with two features: Feature1 - My Web Parts Feature2 - Contains two Visual Studio module with CSS and ...
1
vote
3answers
50 views

New to Developing SharePoint Web Parts and Features

I recently Developed a really simple web part scoped to site (or at least it's feature is). I also created a feature that up[on activation is suppose to create a new content type. That's fine and ...
2
votes
1answer
736 views

Error occurred in deployment step 'Activate Features': Feature with Id 'xxxxx-xxx' is not installed in this farm, and cannot be added to this scope

while installing a feature, VS ouput the error: Error occurred in deployment step 'Activate Features': Feature with Id 'xxxxxxx-xxxx' is not installed in this farm, and cannot be added to this scope. ...
0
votes
1answer
685 views

Hide a feature in Site Collection Administration => Features area

I have a feature with webparts that needs to be activated using powershell. I need a way to either hide the feature on the Site Collection Administration => Features (under Site Settings) or to ...
0
votes
2answers
1k views

What is the Correct Way to Deploy Solutions in Foundation 2010 Via C# API

I am on a team developing a "portal" for SharePoint Foundation 2010. I am responsible for making the installer which sets up a new instance of SharePoint. It handles more than just the installation ...
0
votes
1answer
129 views

workflow inactive - after deployment?

my workflow is deployed through the following script in SharePoint 2010: # Set CurrentDirectory $callingDir = Split-Path -Parent $MyInvocation.MyCommand.Path [Environment]::CurrentDirectory = ...
2
votes
2answers
138 views

How to catch the feature activate time

I am trying to write one program such that, when ever a feature is activated then it should display the activated time in the sharepoint list. for that i written following code. public class ...
0
votes
0answers
463 views

Deploy solution using powershell

I have a solution with 4 projects to automatically some processes in Sharepoint.these projects are: WebPartProject: Create a custom webpart CreateTemplate: Create 2 documents libraries (with ...
3
votes
2answers
977 views

Unable to delete List during solution deactivate

I have two list that I need to delete when a solution is deactivated and removed. But my code doesn't seems to be working. I am trying to delete and remove the quicklinks to the lists in ...
0
votes
1answer
146 views

Using a feature receiver to add a directory to the web applications folder

Wondering if someone knows how to add a directory/folder to the web applications folder within IIS using a feature event receiver (FeatureActivated). Any help appreciated.
0
votes
2answers
876 views

Problem renaming a file in document library programmatically

I want to use a FeatureEventReceiver to rename Home.aspx -> Old_Home.aspx. When i activate the feature rather than Home.aspx getting renamed it gets deleted/disappears (i.e. missing when i refresh ...