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

learn more… | top users | synonyms

3
votes
2answers
34 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 ...
0
votes
0answers
13 views

MDS: constructor loses scope and gets window scope

I am trying to minimize the code needed in CSR files. Instead of calling SPClientTemplates.TemplateManager.RegisterTemplateOverrides in each CSR file. The whole CSR file looks like: iCSR.View({ ...
1
vote
0answers
128 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", ...
0
votes
0answers
15 views

MDS: register DOM elements for removal (or not) in end/begin requests

When you create DOM elements they remain on screen when navigating to other pages (on MDS enabled sites) Is there a (garbage collector) MDS method that can be used to register these DOM elements and ...
0
votes
0answers
35 views

Javascript with MDS in Visual Webpart

I need to include a Javascript file in my visual webpart, but using the Minimal Download Strategy. The problem is when i would like to include a SharePoint:ScriptLink tag in my ascx file, i have some ...
0
votes
0answers
96 views

Problem with _layouts/15/start.aspx# not loading the sites

I recently found out a problem connected with _layouts/15/start.aspx#. So, we have 2 versions of our sites - test, and production. They are identical, but they have different purpose. Both sites had ...
1
vote
1answer
59 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\...
6
votes
1answer
652 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
153 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 ...
0
votes
1answer
435 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
169 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
238 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
4
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....
13
votes
3answers
1k 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 ...