Category: SharePoint

CORS 6

SharePoint 2019 CORS Requests

In SharePoint 2019 (or 2016), when someone is trying to access REST API from other domain, it is usually blocked by browsers CORS policy. To avoid these blocking, you must configure your SharePoint IIS...

0

SharePoint SPWeb object Bad Language

If you are running your C# code in different thread (e.g.: async EventReceivers or TimerJob), sometimes you may notice, that your SPWeb object is initialized in different language. You can use SPUtility.SetThreadCulture method to...

0

Move existing SPListItem to new location

Almost every SharePoint developer knows popular SPFile.MoveTo method. But, in certain cases, you have only SPListItem, and you need to move it to new destination. One of the possible solutions is to make a fake SPFile from this...

0

SharePoint Migrated Content-Database is too large

In migration process from SharePoint 2007 to SharePoint 2013 content databases are growing enormously on size. I have encountered growth about 70% (And that is really big problem, when you have limited resources –...