Tuesday, May 5, 2015

SharePoint 2013 Tips

Step 1 
– Add a link on Content Editor Webpart

Step 2 -  
Add the below lines inside script

Type 1
   $(document).ready(function () {

        var dISummary = driveForDISummary || {}
        dISummary.GetSummaryData();

    });


Or

Type 2
Add the below lines inside script
    function WebinarsExpandSol() {
    }

      _spBodyOnLoadFunctionNames.push("QualityExpandSol");


Location
-       _catalogs/masterpage/Display Templates/Search

Control Template
-       Control_SearchResults.html

Display Template

-       Item_Default.html

No comments: