Change Browser Tab Icon of SharePoint 2013 Farm Solution

Standard SharePoint 2013 Icon

Screenshot 1


  1. Find the Element “SharePoint:SPShortcutIcon” in the MasterPage;
  2. Change the URL, e.g. <SharePoint:SPShortcutIcon runat="server" IconUrl="/_layouts/15/images/myProject/myicon.ico"/>

Attention: be sure, Browser Cache is refreshed and IIS is reset.

The icon is changed as follows.

Screenshot 2


Hint of My Visual Studio Shortcuts

Edit Code:

  • Delete to the word from Beginning or End (Ctrl+DEL => forward, Ctrl + Backspace => backward)
  • Move the cursor one word to the left/right (Ctrl + Left/Right Arrow)


  • View in Browser: Ctrl +Shift + W


  • Navigate To ( Ctrl+Comma) feature provides search-as-you-type support for code file.
  • Quick Launch


More shortcuts:

Deal with result in callback functions of multiple AJAX-Call

Sometimes, it requires to appear the result after all of the deferred tasks have completed in AJAX-Call. The code can be implemented as follows with jQuery:

var deferreds = [], resultArry = [];

$.each(inputArry, function(index, input){ 

deferreds.push(ajaxFunction(input, functionSuccess(result){

console.log("Each Ajax-Call done!");

resultArry.push(result); //Each result saved in the array.


$.when.apply(null, deferreds).done(function(){

console.log("All Ajax-Call Done:" + resultArry.length);



Importance is to use Function.apply.

Edit PDF File with Adobe Acrobat Reader DC using Out-Of-Box Behavior of SharePoint 2013

It is convenient to edit a PDF in SharePoint 2013. The following steps are not to edit PDF file in the browser directly by configuring Office Web Apps. It is the Out-of-Box behavior in SharePoint 2013 and will be configured with following steps.

  • Add items in “\Web Server Extensions\15\Template\XML\DOCICON.xml”:

<Mapping Key=”pdf” Value=”icpdf.gif” OpenControl=”AdobeAcrobat.OpenDocuments”/>

  • In CA, set “Browser File Handling” to “Permissive”konfiguration.
  • Execute the following PowerShell code:
    $webApplication = Get-SPWebApplication “http://webapplication/

Now, the “Edit Document” in SharePoint 2013  is enabled and PDF file can be edited as follows:


Open and Checkout with  Adobe Acrobat Reader DC:


After editing, Checkin and add comment, just like editing a word document with desktop application.



There are more details to control PDF file behavior in SharePoint in the article of the following link: