SharePoint – Add Google Maps to your pages


Hello everyone. Some days ago I discovered that you can use Google Maps to visualize contact or address information on a map. Since I thought that this is pretty cool I wanted to share this information with you.

The first thing you need to do is to create a Document Library to store the Javascript file which will add Google Maps to your page. I called my Document Library “Script”. You can download the Google Maps Javascript file from here.

Before I uploaded the script I changed the following variables:

I set those variables to false since I wanted to use address information instead of coordinates and I wanted the map to open up by default without having to enable it manually.

Now create a Contacts List. It has already all fields we need to test our Google Maps Script. I called my Contacts List “Addresses”.


Next step:…

View original post 223 more words

Some Useful Power Shell Commands


  • Reset farm account credentials:

stsadm.exe -o updatefarmcredentials -userlogin domainusername -password password

  • Creating Classic Authentication Web Application in Sharepoint 2013:

New-SPWebApplication -Name “name” -ApplicationPool “AppPoolName” -AuthenticationMethod “NTLM” -ApplicationPoolAccount (Get-SPManagedAccount “domainusername“) -Port portnumber -URL “http://url/”

  • For Adding and deploying solution
    run this command on command prompt
    “%CommonProgramFiles%Microsoft Sharedweb server extensions14BINstsadm.exe” -o addsolution -filename “G:EasyTabParts.wsp””%CommonProgramFiles%Microsoft Sharedweb server extensions14BINstsadm.exe” -o deploysolution -name EasyTabParts.wsp -immediate -force -allowgac -url http://machinename:portno

View original post

Ways to load jQuery in SharePoint (2010/2013)

Software / Wetware

There are many different approachs to using jQuery with SharePoint. Here is a summary of several different methods I have used, including how to get it to play nicely with NuGet.

1. Decide where to put jQuery files

i. In a site collection Document Library

Putting the scripts in Style Library is the main choice here, as it is available across all templates (whereas libraries such as Site Assets are only in team sites). The feature needs to be activated to make the scripts available.

  1. In your Visual Studio SharePoint project, right click the project and select Add > New Item…
  2. Select Module, and use the name ‘Scripts’.
  3. Configure an appropriate Site Collection (SPSite) level feature to reference the module; this can be a new feature, or added to an existing one.
  4. Rename Elements.xml to Scripts.xml (I like to give each Elements file a different name, so I can…

View original post 808 more words