Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Script On Demend (SOD) /w MDS

$
0
0

Minimal Download Strategy is not compatible with Script of Demand because SOD is script and MDS load not load a content editor web part with script.

It is very common to load a script block /w SP.SOD.executeOrDelayUntilScriptLoaded

This ensures all artifacts are loaded before execution of JavaScript, and can be added on page using Content Editor Web Part, but this fails when /_layouts/15/start.aspx (MDS) attempts to load the page, but nothing will render (its script).

How to make Script On Demand and MDS work together?


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>