Tag Archives: Display Templates

Reference Javascript in a Display Template for SharePoint 2013

Introduction The following guide outlines one of the ways we can reference javascript and load jquery libraries from a display template. Loading Javascript Files When loading javascript files, we have two options: $includeScript SP.SOD.registerSod The recommended method going forward is to use SP.SOD.registerSod. With $includeScript, this is loaded asynchronously so we can’t guarantee that the […]

Continue Reading →