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 [mds]

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

0
votes
1answer
28 views

How to enable debug output for the Minimal Download Strategy (MDS)?

I need to know why MDS failover for a SharePoint page is triggered. In the browser address bar I see start.aspx when loading a page (as expected), then the browser is redirected to the actual page ...
2
votes
1answer
235 views

Sharepoint 2016 custom jscript and problem with MDS

Basically I have the same question as this one with allmost the same goal. I have a SP2016 on premise and I want to modify the suitebar by java script. I have allready tried the answer of the question ...
5
votes
1answer
146 views

SharePoint Framework: Do we have to care about the Minimal Download Strategy (MDS)?

The Minimal Download Strategy (MDS) used to cause lots of problems in combination with JSLink, Script Editor Webparts etc. At least when you don't write code to handle MDS properly. Is MDS something ...
1
vote
0answers
223 views

SP2013 Embed javascript not working with MDS

I have embedded a javascript on a page using Script Editor. The code do following. $(document).ready(function () { ExecuteOrDelayUntilScriptLoaded(loadConstants, "sp.js"); }); function ...
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 ...
0
votes
1answer
453 views

RegisterModuleInit for jslink ONLY works when the file is in Style Library

Why does RegisterModuleInit only take when the file is stored in the Style Library? I'm using MDS and my JSLink file only works the first time unless it is stored there. I've tried putting it in: /...
4
votes
1answer
599 views

CSR + MDS, where are my globals going?? (and I want them back!)

Disclaimer I am working on an edge case here. The Javascript file is dynamically created server-side, and the JSLinks all point to the same absolute URL (receiving different content). JSLink Absolute ...
1
vote
1answer
476 views

How do I brand SharePoint 2013 while keeping MDS active?

I would like to do some minor SharePoint 2013 branding while keeping SP's Minimal Download Strategy (MDS) feature active. All I'm looking to do is to change a colour, add a logo, and hide some page ...
1
vote
0answers
55 views

MDS why IE reloads all SOD scripts on page change, chrome does not

I was testing my MDS script loading and noticed that for the most part chrome loads SOD script only once while IE requests all of them every time. Is there a fix for IE since we advise our users to ...
0
votes
3answers
3k views

Issues with Minimal Download Strategy and _spBodyOnLoadFunctionNames.push

I noticed that on the sites that have MDS activated, functions that I queue up with _spBodyOnLoadFunctionNames.push do not get executed. I can step through my code and I see ...
1
vote
1answer
70 views

Variation in SharePoint 2013

I am using Variation in SharePoint 2013. When I hit my root site i.e www.abc.com it goes to the www.abc.com/_layouts/15/start.aspx#/Pages/VariationRoot.aspx and then goes to the www.abc.com/en-us ...
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
0answers
51 views

Problem loading pages as a site owner when Minimal Download Strategy (MDS) is active

We have created a custom teamsite webtemplate, which has some extra site columns, contenttypes, lists and libraries. No fancy stuff. However we got some complaints that sometimes, not always pages ...
2
votes
2answers
126 views

Get List with MDS (Minimal Download Strategy) enabled

Consider the following code: string srcUrl = Request.Params["sourceUrl"]; SPList list = SPContext.Current.Web.GetList(srcUrl); with MDS Feature disabled: string srcUrl = "http://localhost/...
1
vote
1answer
1k views

Can not load custom Js added on custom master page of SharePoint Online, on MDS enabled site

I have created a custom master page and added a custom js reference to that master page using scriptlink tag. But once MDS feature is enabled on site, master page can not load custom js, it gives js ...
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 ...
0
votes
0answers
660 views

SharePoint security trimming control on masterpage doesnot hide the div completely for subsites if MDS is turned ON

We are using SharePoint security trimmed control. This control surrounds the '<div id="s4-ribbonrow">' Only users with 'edit items' permissions are able to see the ribbon. However, suppose a ...
10
votes
2answers
3k views

How to turn off MDS on all site collections and sites?

We have got a web application with 400 site collections and multiple sites, is there a way to turn off the MDS feature for entire web application?
1
vote
1answer
391 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
2
votes
2answers
1k views

Why Are Publishing Pages Not MdsCompliant?

In SP 2013 the publishing architecture is not compatible with the Minimal Download Strategy. As far as I can tell this is because the Microsoft.SharePoint.Publishing.dll assembly is not signed with ...
1
vote
1answer
2k views

Is It Possible to Remove AjaxDelta from an SP 2013 Master Page?

Seeing as how the Minimal Download Strategy of SP 2013 is not compatible with the publishing architecture, in a custom master page for a publishing site is it possible to remove the AjaxDelta wrappers ...
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 ...