How to replace the OOTB SharePoint Help with your custom help page

If you want to replace the Out of Box SharePoint Help with your custom help page when people click on "?" icon on the top right corner on the SharePoint Portal 2013, then you can use below jQuery in HTML master page. The sample screenshot is as following. You need to reference to the "jquery.SPServices-2014.02.js" file firstly.

    var currentSite=$().SPServices.SPGetCurrentSite();
  /*Replace ms-help element onclick event*/
  $("#ms-help>a").attr("onclick","abc");
  /*Replace below "Pages/PortalHelp.aspx" with your actual custom Help page location*/
  $("#ms-help>a").attr("href",currentSite+"/Pages/PortalHelp.aspx");
   $('#ms-help>a').click(function(){
              window.location.href=currentSite+"/Pages/PortalHelp.aspx";
    });

This post is part of my BI Portal project.

If you are interested to know more how I customized a Out Of Box Business Intelligence SharePoint 2013 Portal, please sign up in here.

Recommend book:

Custom SharePoint Solutions with HTML and JavaScript: For SharePoint 2013 and SharePoint Online


Comments

Popular posts from this blog

Top JavaScript courses helping you develop SPFx webPart with ReactJS and AngularJS

SharePoint 2013 error - "Application error when access /_vti_bin/client.svc"

Enable the Microsoft Power BI report file type (.pbix) in SharePoint Search