Tagged Questions
0
votes
3answers
225 views
Getting SPWeb Object in two ways
I want to access SPWeb object in feature under its FeatureActivated method. There are two ways to do this:
Public Override void FeatureActivated(SPFeatureReceiverProperties properties)
{
//Method 1
...
2
votes
1answer
388 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
178 views
Failed with 0x80004005 to create the view query or web parts for web
Feature 1 creates Site Columns
Feature 2 creates Content Type and adds the site columns created by feature1
Feature 3 creates a List definition for mylist
I have two Web tempaltes. I have added ...
1
vote
2answers
190 views
waiting for a feature to be activated when the SPWeb is created completly
I have created a web scoped feature. In FeatureActivated method I try to GetLimitedWebPartManager from default.aspx file. But the web has not been created yet and default.aspx does not exists.
0
votes
1answer
92 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 = ...
0
votes
2answers
108 views
Feature not activating after sharepoint 2007 upgrade to sharepoint 2010
After the 2007 to 2010 SharePoint upgrade i have taken notice that when i try to activate a feature under the site collection admin for a root site page and also with manage site features i keep on ...