Forum Discussion

Anonymous's avatar
Anonymous
Sep 19, 2017
Solved

Modern pages issues - upload document and browse site

Hi All

 

I'm hoping someone can point me in the right direction.

 

I'm having a couple of issues with modern pages at the root of a site collection. These issues aren't happening in sub sites.

 

1) When using the Document webpart and choosing upload, we get error "Can't find your default document library". Screenshot attached.

 

2) When trying to add any content and choosing the Site option, it's blank instead of displaying document libraries. Screenshot attached.

 

Any ideas?

 

Thanks

 

Allan

  • Hey Allan,

     

    Did you delete the original Document Library that comes with this particular site? The webpart breaks because the API is refering the default Document Libary (https://yourtenant/Shared%20Documents/)

     

    Not sure why MS designs the webpart/API in this way. But once you add the Document Library back to that particular site (remember to name it as Shared Documents, other wise you'll still get error), the webpart should be functional again.

     

    It took us hours to troubleshoot this, and hope our solution works for you.

     

    Good luck!

     

2 Replies

  • Hey Allan,

     

    Did you delete the original Document Library that comes with this particular site? The webpart breaks because the API is refering the default Document Libary (https://yourtenant/Shared%20Documents/)

     

    Not sure why MS designs the webpart/API in this way. But once you add the Document Library back to that particular site (remember to name it as Shared Documents, other wise you'll still get error), the webpart should be functional again.

     

    It took us hours to troubleshoot this, and hope our solution works for you.

     

    Good luck!