Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

ApplyProvisioningTemplate creates duplicate views #2540

@karinebosch

Description

@karinebosch

We use ApplyProvisioningTemplate to provision new SharePoint sites. The template XML contains XML like this (generated by the method GetProvisioningTemplate):














30
clienttemplates.js

etc.

We expect the default view to get the custom fields, but instead a duplicate view is created:

  • the standard view "AllItems.aspx" is not modified (and remains)
  • a second view "AllItems1.aspx" is created, with the correct fields added to it, and becomes the default view
  • Navigation links in the left menu continue to link to AllItems.aspx

Tenant and SharePoint sites have "Dutch" regional settings.

Which PnP repository should you use to report the issue?

Category

[ ] Bug

Environment

[ ] Office 365 / SharePoint Online

Duplicate views
CustomProjectTemplate_TEST.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions