Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [minimal-download-strategy]

The Minimal Download Strategy (MDS) is a feature that improves page rendering performance. It is available in SharePoint 2013.

1
vote
0answers
18 views

Disable minimal download strategy using powershell

I am trying to disable the minimal download strategy but the feature is not available even though the redirection persists. This site is a users Blog site. The Blog link from the MySite redirects ...
0
votes
1answer
25 views

Enable/Disable site features from powershell

I need to activate the Team Collaboration Lists feature and deactivate the Minimal Download strategy in a user's blog and personal site. I am a farm admin, is that possible using powershell? UPDATE: ...
0
votes
1answer
70 views

ExecuteOrDelay Function Not Working on Published Pages

I'm having incredible difficulty attempting to make a jQuery script run when a page is published. I have utilized a multitude of variants of ExecuteOrDelayUntilScriptLoaded and SP.SOD functions to ...
0
votes
1answer
51 views

Why does my UserControl break MDS (Minimal Download Strategy)?

I've created a user control in a SharePoint 2013 farm solution, and added it to the AdditionalPageHead control. <Control Id="AdditionalPageHead" Sequence="90" ControlSrc="~/_ControlTemplates/15/...
2
votes
1answer
475 views

SharePoint custom JavaScript and jQuery blocked by MDS Minimal Download Strategy

Here's my setup. Onprem SharePoint 2016. I have a master page which is basically a copy of seattle.master and I want to add jQuery and a custom Javascript to manipulate the DOM. The minimal download ...
2
votes
2answers
132 views

start.aspx redirecting in Minimal Download Strategy

EDIT: Turns out there is probably an issue with the page. This exact problem is described here with possible causes: https://threewill.com/working-with-and-around-sharepoint-2013s-minimal-download-...
2
votes
1answer
354 views

SharePoint Online - MDS broken?

I'm wondering if anyone else has noticed that minimal download strategy appears to be not working in SharePoint online? When switching between pages, the page appears to attempt to use MDS (the ...
3
votes
2answers
85 views

“eval is evil()” - But can it be a way around some of the limitations of Minimal Download Strategy?

The process of getting custom JavaScript to work with Minimal Download Strategy is quite cumbersome and especially in the prototyping phase I like to write my (smaller) scripts inline in a Content or ...
3
votes
0answers
1k views

CSR: RegisterModuleInit without hardcoded JS filename?

Always looking to make CSR development easier... This the typical CSR programming pattern: We hardcode the filename inside the CSR file SP.SOD.executeFunc("clienttemplates.js", "SPClientTemplates", ...
2
votes
2answers
411 views

CSR will only be executed after reloading the page

I have the folloing definition in my schema.xml <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" SetupPath="pages\...
7
votes
1answer
2k views

How do I disable the Minimal Download Strategy for OneDrive for Business for all users?

I have an Office365 environment with SharePoint Online and OneDrive for Business. I can set SharePoint up (per site) to turn off the Minimal Download Strategy feature, but it seems like there's not a ...
0
votes
1answer
248 views

Can I disable MDS on a single web part page

I have a custom list on a custom web part page with scripts that affect color coding as well as clickable attachment icons. These scripts do not execute when the list is grouped, and the groups are ...
1
vote
1answer
3k views

Correct way of disabling a feature using PowerShell?

What is the correct way of disabling a feature using PowerShell? I'm gonna add a script to task scheduler that's deactivates the Minimal Download Strategy feature from all the new sites that are ...
0
votes
0answers
186 views

How to get a CustomControl into SuiteBarBrandingDelegate with MDS-Feature activated?

I want to add a Navigation to the SuiteBarBrandingDelegate. I created a nicely working solution for this but it doesn't work with the MDS-Feature activated (Minimal download strategy). After some ...
1
vote
1answer
390 views

What are the implications of turning the MDS off

What are the implications of turning the MDS off. Reference: http://www.wictorwilen.se/the-correct-way-to-execute-javascript-functions-in-sharepoint-2013-mds-enabled-sites
5
votes
1answer
1k views

How to make a UserControl Minimal Download Strategy Compliant

I have a feature which specifies a custom user control to be added to the AdditionalPageHead delegate control as such: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas....
16
votes
3answers
2k views

Modal Dialogs and Minimal Download Strategy

I am having the following issue in SharePoint 2013 Online (Office 365 Preview): when I try to display in a modal dialog a page that relies on MDS (Minimal Download Strategy), the dialog opens but then ...