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

Apr
15
revised Event Receiver AfterProperties not setting when item adding in code
added 49 characters in body
Apr
15
asked Event Receiver AfterProperties not setting when item adding in code
Apr
2
awarded  Enlightened
Apr
2
awarded  Nice Answer
Mar
25
comment How to obtain the HTML source for mysite.master?
Unfortunately not. The Design Manager stuff converts HTML to master but not the other way round. Even if you did get back to HTML, SharePoint can't do anything with it without Design Manager.
Mar
25
comment Lookups are empty
Sounds there's an event receiver on that list doing something with ContentType B.
Mar
24
awarded  Yearling
Mar
23
comment how to POST to sharepoint 2013 using php curl
Troubleshoot this in the browser first, or using a chrome plugin like Postman to build your REST query, get it working there then try to recreate it in curl.
Mar
23
comment Lookups are empty
What exception do you get?
Mar
23
answered How to obtain the HTML source for mysite.master?
Mar
23
answered How to get SP.File from _layouts/…/images/
Mar
18
comment Get SPWeb by ID without Site Collection?
Also, unless your code absolutely has to run as the Application Pool service account, then call new SPSite(fullPath, SPUserToken.SystemAccount) instead, without the SPSecurity.RunWithElevatedPrivileges
Mar
18
comment Get SPWeb by ID without Site Collection?
When you pass http://server/subsite to SPSite, then calling OpenWeb() will be in the context of /subsite. No need to go to AllWebs, which could be slow to enumerate if there are thousands.
Feb
8
comment need to update the item in the list
Have you tried simply enabling major Versions on the list? This'll store each version in the list separately, and the major version number should be available in the GUI.
Feb
8
comment Performance implications of having 10.000 items
I actually had a bet on in 2010 that vNext (which would become SP2013) would physically limit the number of items in a list down to 5,000, because the number of people switching off LV thresholds. Instead they now recommend using search to large query lists :D
Feb
8
comment Performance implications of having 10.000 items
You're actually right, been a while since I dealt with this - originally we were told to page items in code, so we did. Then idiots still didn't do it so they brought in LV thresholds - these are implemented at the database and applied at the web app level. This effectively wiped out perfectly fine handling of large datasets with default settings. Now, we have search which allows stupidly fast querying of 10s of millions of rows.
Feb
7
comment Performance implications of having 10.000 items
Consider rewriting your sentence about "10,000 items in a single row" - as in the context of SharePoint this makes no sense. Users have no idea how many rows in SQL a SharePoint item consumes, nor can they control it.
Feb
7
comment Performance implications of having 10.000 items
Yeah, the list view threshold is 5000 items but if you're bringing back 100 at a time then that won't affect you. Another thing to note is Lookup, Managed Metadata and People/Group columns - those can slow things down, but pure text/number/date columns (the primitive types) can have surprisingly good performance.
Feb
7
answered Performance implications of having 10.000 items
Jan
27
comment Difference Between Item.Update and Item.SystemUpdate?
What's the actual Error? There's a trace but you've cropped off the actual error message from the top.