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 occur: This error means:...
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...
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 call two-way – “in”...
When you have your SharePoint application enabled with Anonymous access, often can occur the exception: This is, because some Rest methods can be disabled on web application scope. You can run this commands, to...