Reputation
23,050
Next tag badge:
75/100 score
40/20 answers
Badges
1 29 64
Newest
 Enlightened
Impact
~1.4m people reached

Oct
11
comment GetAvailablePageLayouts complains of parent site
I reference "two instances" of PublishingWeb, I actually think this could happen if you create a PublishingWeb to a site collection that is different to HttpContext.Current. Either way, it breaks it somehow, so just set to null whilst you do your shizz then set it back.
Oct
10
comment SharePoint 2013 - Save Conflict
Please include the gist of your post incase the link dies one day. Other readers: basically re-get the item by its ID.
Oct
10
answered GetAvailablePageLayouts complains of parent site
Oct
2
comment How to check username/accountname under which the code runs?
(Jumping on an old thread) - Because WindowsIdentity.GetCurrent() reflects the app pool and not the actual thread of the user's request - use Thread.CurrentPrincipal.Identity.Name for this.
Sep
30
awarded  Explainer
Sep
29
comment SharePoint designer is showing “Server error: this file may not be moved, deleted, renamed or otherwise edited”
That is correct - you do not modify the .masterpage if it has an associated .html file. It is intended that you modify the .html file instead when using this model. If you do not wish to use this model, do not copy & paste one of the OOTB masterpage files in 2013, and use a minimal master template from somewhere like Randy Drisgill's blog.
Sep
26
answered SharePoint designer is showing “Server error: this file may not be moved, deleted, renamed or otherwise edited”
Sep
26
comment Web part mysteriously prevents saving edits to webpart-page
Do you have a custom tool part in your web part?
Sep
26
comment Create list using C# CSOM in a subsite on Office SharePoint O365
What permission set do you have in your app's manifest?
Sep
26
answered Office 365 SharePoint CSOM search navigation
Sep
26
comment Central admin has <> less than and greater than tags on top of navigation menu?
I've noticed this too. Think it's a bug myself.
Sep
26
answered Carousel and Sharepoint
Sep
26
comment System.Web.HttpException: Request timed out
Whoa, this is old. For future readers: to avoid the "Panic before w3wp bails", go to IIS, find your App Pool, and set "Ping Enabled" to False - this will prevent timing out when debugging.
Sep
17
answered My WebPart custom validation loophole
Sep
17
answered Content Query Web Part filter problem
Sep
17
answered Links working on server but not remotely
Sep
17
answered Understanding REST API response
Sep
17
comment Get list ID and selected item ID
This code effectively replaces all of your code, if you want the selected items.
Sep
16
revised How can I host WCF services in _vti_bin?
deleted 14 characters in body
Sep
8
comment How can I configure x-frame-options: allow-from on my sharepoint installation?
iframe options aren't set in IIS, they're set in the SharePoint HttpModule, you can't do anything specifically in IIS to switch it off.