pnpframework icon indicating copy to clipboard operation
pnpframework copied to clipboard

Shared Documents library URL modified when applying template from site with different default language

Open NickSevens opened this issue 3 years ago • 0 comments

When exporting a template from a site which was created in Dutch for example, this is exported containing a library with url "Gedeelde documenten".

When importing this template onto a site which was created in English, this applying of the template modifies the document library's url from Shared Documents to the Dutch version's Gedeelde documenten.

I believe changing the default document library's URL should not happen, since this causes some side-effects beyond our control.

E.g:

  • the property bag's GroupDocumentsUrl property contains a wrong value
  • or, more breaking: when the English site had already a Team associated to it, the Files tab in that Team still points to the original url. This causes the Files tab to fail, since the URL can no longer be found!

NickSevens avatar Jan 26 '22 13:01 NickSevens