Simple jQuery Autocomplete for SharePoint 2013 forms

<!doctype html>
<html lang="en">
  <meta charset="utf-8">
  <title>jQuery UI Autocomplete - Default functionality</title>
  <link rel="stylesheet" href="//">
  <script src="//"></script>
  <script src="//"></script>
  <link rel="stylesheet" href="/resources/demos/style.css">
  $(function() {
    var availableTags = [
    $( "#tags" ).autocomplete({
      source: availableTags
<div class="ui-widget">
  <label for="tags">Tags: </label>
  <input id="tags">

“Use default gateway on remote network” on Windows 10

When creating a VPN connection on a client machine default settings for VPN is “Use default gateway on remote network”. Currently, on Windows 10 the TCP/IPv4 properties are greyed out because of some bug 🙂 The problem is that you cannot change those IPv4 settings in classic Properties window. Here is a simple solution:


  • Navigate to “C:\Users\[USER]\AppData\Roaming\Microsoft\Network\Connections\Pbk”
  • Open “rasphone” in text editor (eg. Notepad) and you will see well-structured config file divided by connections
  • Find you VPN config part and change the following value “IpPrioritizeRemote” to zero
  • Reconnect!

How to configure SharePoint 2013 Search service?

After you have completed setup and the SharePoint Products Configuration Wizard, you new SP server is almost ready! If you upload a few documents or create some list items, it is expected to get those details as a search results. So, where is the problem? In most cases you need to setup search service initially and index all content on site collection.


  1. Go to Central Administration and select Manage Service Application
  2. Open and click the Search Service Application list menu, you will be redirected to Search Administration page
  3. Select “Content Sources” from left side menu
  4. Select “Start Full Crawl” from dropdown menu in order to crawl your data from the databasesrch4

After a few minutes or hours (depends on content size), your search will start showing display results!

SharePoint 2013: System.ServiceModel.ServiceActivationException 500

Running out of memory is a well known bug for SharePoint 2013 search service specially because of noderunner.exe processes. Last week we had an issue with term set navigation change because of the following error: “system.servicemodel.serviceactivationexception 500”. Simply you cannot change anything. We have temporarily killed all noderunner.exe prcoesses, but it still failed.


Temp solution:
Enter the Windows Services list and just restart “SharePoint Host Search Controller”. After that make you should make your changes.


The same bug causes problems with editing SharePoint site in SharePoint Designer, simply you cannot open it. It is resolved in the same way.

Azure PowerShell for VM

  • First Virtual Machine in a NEW Cloud Service (-Location specified)
    New-AzureQuickVM-Windows-ServiceName $svc -Name $vm1 -ImageName $wimg-Location $location -Password $pwd<br />
  • New Virtual Machine in an Existing Cloud Service (no –Location)
    New-AzureQuickVM-Windows-ServiceName $svc -Name $vm2 -ImageName $wimg-Password $pwd</p> <p>
  • Creating a Linux Virtual Machine in an Existing Cloud Service
    New-AzureQuickVM-Linux-ServiceName $svc -Name $vm3 -ImageName $limg-LinuxUser $lu-Password $pwd 

How to enable archive mailbox in Office 365?

All Exchange Online plans (except Kiosk plans) has the option to enable an in-place email archive. By default, on all plans, the in-place email archive is disabled for all users. An administrator must enable it before it can be accessed. The in-place email archive foldersare stored only in the cloud. The main question is how to enable this option?

  • Access your Office 365 administration using the administrator credentials
  • Select the mailbox you would like to enable archiving option
  • On the right  pane  you will see In-Place Archive
  • Select Enable
  • A new screen will appear asking you if you are sure you wish to enable this feature, click Yes
  • In-Place archive is enabled!


Show different HTML form depending on radio button selection tutorial

<html xmlns=""> 
        <script type="text/javascript"> 
            function displayForm(c){ 
                if(c.value == "1"){ 
                else if(c.value =="2"){ 
            <label>Form 1<input value="1" type="radio" name="formselector" onclick="displayForm(this)"></label>     
            <label>Form 2<input value="2" type="radio" name="formselector" onclick="displayForm(this)"></label>     
        <form style="visibility:hidden" id="form1"><label>Form 1<input type="text"/> </label></form>     
        <form style="visibility:hidden" id="form2"><label>Form 2<input type="text"/> </label></form>