Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 26954

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

2 votes
1 answer
452 views

Programmatically setting HtmlDesignAssociated value

I'm deploying a composed look from the server (including the .spcolor, .spfont, master.html and master.preview files), but I cannot get the field Associated File to select. I've tried setting it in ju …
psdpainter's user avatar
1 vote
Accepted

Programmatically setting HtmlDesignAssociated value

Ok so apparently trying to set the field HtmlDesignAssociated from the elements.xml file in a Module won't work. Once I took that out, the code in the event receiver worked and my master.html file n …
psdpainter's user avatar
0 votes
1 answer
875 views

Activating web feature from event receiver doesn't do anything

I have the following code that should run to automatically disable the Minimal Download Strategy feature when a new site is being provisioned. Unfortunately nothing happens. No errors are captured in …
psdpainter's user avatar
1 vote
1 answer
546 views

Feature stapling always returns item does not exist: it may have been deleted by another user

I'm attempting to create a feature stapled solution that pushes out custom branding to every new site collection created. The following code is in my event receiver: public override void Feature …
psdpainter's user avatar