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

Jun
30
comment Connect all SSRS Reports in SharePoint library to DataSource using Powershell
This is an amazing Cmdlet. If only I knew about this 2 years ago... :)
Jun
30
comment SharePoint Online Public Website
In short, Microsoft really don't want you customising and branding SharePoint sites to the level that is often required for public web sites, so they'd rather you not use SharePoint for your public facing site (upgrades are guaranteed to break them). You can use anything on the market (probably most would go for WordPress). I'm not real sure why they pointed people to GD or WiX though.
Jun
2
comment sharepoint is slow
Poor SharePoint performance is normally a symptom of an insufficiently specced SQL Server, or poorly configured SQL Server. Turning off services rarely helps, and only does help if memory usage is stressed on the WFE/App servers.
May
29
comment Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Object Raphael already exists as a class, enum, or interface
Might be worth asking with the vendor of the custom solution? Doesn't look like anything SharePoint normally throws up.
May
29
comment Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Object Raphael already exists as a class, enum, or interface
Is the custom solution loading a control twice on the page at all? Are you able to reproduce on a new site collection?
May
26
comment Remove site column that's associated with content type in site collection using PowerShell
You may to need to clarify - I assume you removed the site column from the content type at the root site level - are you saying this did not remove the column from the content type in sub sites?
May
26
comment How do I query a list using CAML and SPQuery?
Don't use SPList.Items directly, it's slow and gets slower very fast as the list grows in size. Reference: msdn.microsoft.com/en-us/library/office/…
May
15
comment SiteCollection Feature Upgrade Access Denied for Farm Admin
Note that RunWithElevated has no function within powershell. It's purpose is to revert the impersonated user back to the process identity. In a web application, this is the application pool identity. In Powershell, there is no impersonation.
Apr
25
comment Hide “Site Actions” -> “View All Site Content” in a 2010 Publishing Site
We prefer not to post links as answers here, as they'll never be around forever. Rather, summarise the steps in the post, and provide a link as source.
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
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
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.