SharePoint started to fail loading Document List Extension

Copper Contributor

SharePoint Document List Extension that we have built has started to fail initializing when navigating from a Home page to a Document List via quick link options.


The error that it throws seems to be related to some change in SharePoint as this was working before. The error that is thrown is below, that we assume prevents the execution of initializing extensions. 



The extension loads fine if you navigate to the Document List directly from the browser. And the difference in the executing code is that when opening the page directly the following function argument is a correct object:


But when we attempt the navigation the argument `e` is some other object that does not have the property ExpFeatures and instead it has a subproperty called _legacyPageContext which has the property ExpFeatures:


We assume there was some sort of update in SharePoint that is causing this error now.

0 Replies