Using Invoke-PnPSiteTemplate breaks Document Set Shared Columns
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
I have a template site that I use that contains custom content types that are Document Sets. These Document Sets are configured with Shared Columns that should propagate to all files uploaded in the Document Set. When I apply the site template to a new site the content types are created but the shared columns do not work. They do not get populated when I upload a file.
It also breaks shared columns for all Document Set content types on that new site. After creating the site and applying the site template, I created a new document set content type and added some shared columns. They did not get populated either.
I verified on all document set content types that the settings were correct after applying the site template. So it appears that using Invoke-PnPSiteTemplate on a site breaks the Shared Column functionality for the entire site. I have tried with PnP.Powershell version 1.12.0. and 2.1.1
I am running out of ideas on this one. Could someone please look into this. Thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the problem with Invoke-PnPSiteTemplate using a template containing Document Set content types and shared columns. Compare shared-column behavior before and after provisioning, including for a newly created Document Set content type; done means shared columns propagate to uploaded files on the resulting site.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- content, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100