Since SharePoint 2010 sharing content types between different site collection went much more easier than it was. Content Type Syndication introduced in SharePoint 2010 allowed publishing content type to subscriber site collection and use it. In SharePoint 2013 this feature remained and you can still use it for your solutions. In this article I will not focus on how you can establish content type publication, because it is well written here or here, but I will focus on how you can achieve same thing using PowerShell not GUI. Continue reading
In every environment it is important to make sure that you have backed up and can recover the data that you need if a failure occurs. No matter whether it is an enterprise, corporate, or branch office backup should be performed on regular basis. Continue reading
When identifying which site collections are inactive you have to first define the meaning of “inactive” term. There are at least two meanings of this word:
- No one accessed site collection since X days
- No one added/changed/deleted any content in site collection, but site collection might be still used by visitors
Every site collection in SharePoint must have a template. Site collection structure and functionality is based on it. SharePoint provides many site templates from which you can choose the one that will fit your needs. You can also create and use your own as needed. Site collection template is mandatory, but is it possible to create site collection without specifying a template? Yes, it is! In this entry I will explain how to do that from UI and PowerShell perspective and what is a delayed site collection.
By default when you construct query using Camlex.NET attribute IncludeTimeValue is not used. As MSDN documentation states:
Optional Boolean. Specifies to build DateTime queries based on time as well as date. If you do not set this attribute, the time portion of queries that involve date and time are ignored.
In most cases there is no need to include time part in queries when you are looking for list items and your queries will work just fine. In my project it was essential to use date and time at the same time because millions of dollars depend upon several seconds.
Enough teory. It is time for practice. Continue reading
In this article I’ll cover basic tasks needed to create *.vhd file for your custom development environment.
Let’s start form opening Computer Management, which is used to manage local and remote computers. So, expand Storage section, right click on Disk Management and choose Create VHD. Continue reading
As a SharePoint developer I’ve experienced many kinds of development environments. From installing SharePoint on host OS, going through remote desktop developing and ending on virtual machine. Some of them had advantages over others, but none of them was perfect. Everything worked as it could until Windows 7 came up.
Since Windows 7 each Microsoft’s operating system has the native support for VHD (Virtual Hard Disk). The same VHD files that are used in virtualization platform i.e.. Hyper-V, Virtual Server and Virtual PC.
Booting from VHDs means booting the machine as if running from primary hard disk so your operating system will use all the hardware available in your system like Graphics, Wireless, USB etc. which is not possible in most of the virtual environment. Continue reading