SharePoint 2016: Extend A Web Application


In some scenarios, you may need to share the same content to different types of users [Internal / External] through different URLs or different authentication types. In this case, you will need to extend your SharePoint web application.

Before we begin to explain How to extend a web application, you should first be aware of the following.

  • When the web application is extended, a different Web Application and IIS are created.
  • The main Web Application and the extended one will share the same Content Database.
  • You can extend the web application to change the port number. Meanwhile, you can extend the web application to port 80 in case you use Host Header.
  • Extending web application is used for extranet deployments in which different users access to the same content through different domains and different authentication type.

Below, I will show the simple steps to extend a SharePoint Web Application.


Continue reading “SharePoint 2016: Extend A Web Application”


Group By Content-Type in SharePoint list view

In this hint, I’ll show How to Group By ‘Content-Type’ field in SharePoint list view?Group By 'Content-Type' field in SharePoint listScenario:

Continue reading “Group By Content-Type in SharePoint list view”

Show / Hide fields based on a dropdown selection using SPUtility.js

In this article, I’ll explain How to show and hide fields based on a Choice field selection in ‘New Form’, ‘Edit Form’ and ‘Display Form’ in SharePoint 2013 / 2016 via SPUtility.js?


  • Download SPUtility.js.
  • Upload the downloaded file (SPUtility.js) to an appropriate place in SharePoint Site like ‘Style Library’.
  • Create a Custom list.
    • Add a choice field displayed as ‘Drop-Down Menu‘.
    • Fill your choices as you need.
    • Add the fields that you need to show or hide based on the selected value of choice field.


Continue reading “Show / Hide fields based on a dropdown selection using SPUtility.js”

Show / Hide a DIV tag based on a user group in SharePoint via SPServices

In this hint, I’ll elaborate How to show/hide a DIV tag based on a user existence in a specific group with a specific permission in SharePoint via SPServices?Show Hide DIV tag based on user group in SharePoint via SPServicesScenario:

Consider you have a SharePoint Page that holds a 2 Script Editor Web Part or more, and each Script Editor Web Part has its independent DIV as shown below.Show or Hide a DIV tag based on a user group in SharePoint via SPServicesNow, you need to hide the left (DIV) with ‘< div id="ID1"> Qassas div ID1< /div > from all users who belong to a specific SharePoint Group in your SharePoint site.

Steps: Continue reading “Show / Hide a DIV tag based on a user group in SharePoint via SPServices”

Visual Studio 2017 has landed

On 7, 8 March 2017, Microsoft celebrates 20 years of Visual Studio, announce the release of Visual Studio 2017.

Visual Studio 2017 has landed

If you missed anything from the Visual Studio 2017 launch, catch up on all the news, the keynote, and technical sessions on demand. Watch Now

In this article, I will briefly answer the following questions

Continue reading “Visual Studio 2017 has landed”

Is SQL Server 2016 SP1 supported for SharePoint 2016?

It’s heavily recommended to check the Hardware and software requirements for SharePoint Server 2016 before you are going to Install SharePoint 2016,

In Hardware and software requirements for SharePoint Server 2016 article, specifically in Database Server requirements section, you will note that the database server requirements is one of the following:

  • The 64-bit edition of Microsoft SQL Server 2014 Service Pack 1 (SP1)
  • Microsoft SQL Server 2016 RTM.


Actually, that made me puzzled to maintain the compatibility of SQL Server 2014 SP2 or SQL Server 2016 SP1 with SharePoint 2016! until
Continue reading “Is SQL Server 2016 SP1 supported for SharePoint 2016?”

Missing SharePoint 2016 Project Template in Visual Studio 2015

Still, I can’t find SharePoint 2016 Project Template when I tried to create a new SharePoint 2016 solution via Visual Studio 2015. Although I have installed Microsoft Office Developer Tools for Visual Studio 2015, and Office / SharePoint Template is now listed as shown below.missing-sharepoint-2016-project-template-in-visual-studio-2015

Continue reading “Missing SharePoint 2016 Project Template in Visual Studio 2015”