From a Microsoft Teams channel I click the button "Open in SharePoint". This in turn opens a new browser window with a deep link to the channel folder in the SharePoint document library. The folders and documents show up just fine - but the Details Pane in the modern list view yields the following error:

Cannot read property 'formType' of null.

enter image description here

The deep folder link from MS Teams looks like this:


That looks like a link to a folder in a SharePoint classic view! If I instead navigate within the SharePoint modern view, the link has this format:


That works fine - no error in the Details Pane. The error only shows when the following conditions are true:

  • The document library is browsed in Modern view (Classic works)
  • The SharePoint language is Danish or any other language than English
  • The folder is opened with deep-link formatted as a classic link shown above.

Can anyone confirm if this is a known bug?

Or am I missing something?

  • I tried the same and it is working fine for me. URL is also in the same format as your first link and it is opening in Modern View only. (Language is set to English). Sep 26, 2019 at 9:13
  • Thanks for testing - it also works for me when the SharePoint site language is set to English. But it fails when setting it to my native language Danish. Sep 26, 2019 at 9:22

1 Answer 1


In my case this was caused by user's experiments with content types of list. The CT of particular documents were set to "Unknown", after changing to Document everithing got fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.