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. 

orbus_dkreivenas_0-1689800140541.png

 

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:

orbus_dkreivenas_1-1689800269526.png

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:

orbus_dkreivenas_2-1689800418945.png

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

0 Replies