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 […]
Personal Blog of Marek Mihalech
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 […]
On one of my SharePoint 2019 farms a strange error occurred while trying to convert DOCX to PDF using Word Automation Services: ErrorMessage : The file could not be converted; […]
SharePoint has nice feature, that allows you to open document libraries in classic Windows File Explorer. This lets you upload, move, copy files or folders in document libraries from File […]
Introduction From the first time I saw ambient light on tv, I always wanted to do something like this. Luckily, components required to do your own ambient light are not […]
I have added a Service Reference to my local SOAP wsdl file in Visual Studio. The datetime properties in service wsdl were marked with minOccurs=”0″ like this: But in generated […]
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 […]
Recently, I have set up Developer DashBoard in SharePoint Foundation 2013 via powershell like always. The strange problem was, when I opened the dashboard, there was only blank page staring […]
When you are creating New Folder in SharePoint list through UI, SharePoint automatically trims white-space from folder names. But, if you attempt to create New Folder programatically, an Exception can […]
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 […]
In C# language you can pass parameters to function with Ref or Out keywords. Here is some simple example: Ref parameter needs to be initialized before passing to function […]