Category: SharePoint
-
How to create search query content source in SharePoint using PowerShell
It is very easy to add a content source by using SharePoint Central Administration, but you might need to create a long list of content sources in a batch for example as part of a disaster recovery process or many other reasons. Here is one way I do it in a PowerShell script.
-
How to read optional attributes in XML with default values
When we are reading data from XML data sources, it is very common that when a value is not given for an attribute or an element, we have to use a default value instead. Having to check for the existence of the node each and every time we are reading a value can be annoying…
-
Disabling Security warning for Attach to process in Visual Studio 2010, 2013 and 2015
You probably have already suffered from the pain of having to click one more time when attaching visual studio’s debugger to a process. As developers we all have the obsession to be more productive and everything that comes in the way is a bummer. I should have shared this little secret before, but … I…
-
Connecting WebParts programmatically in SharePoint
Let’s start by an example. Example In this blog post, I’m going to assume we have a webpart that displays a contact list and another one that displays a map with the possibility to pinpoint an address. To keep things simple I assume the address is merely a string. To connect these webparts, we typically do the…
-
BCS Part 1 – What can I build and what is the best way to do that?
If you already know SharePoint and probably experienced developing application in this platform you already know that when thinking about a new solution and all the requirements you’re going to meet in your project, picking the right tools and finding the best way to build the right solution is not always easy. When thinking about…