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

Best Practice Guidance for using PnP Site Provisioning along-side a Content Type Hub #2598

@pdemro

Description

@pdemro

Category

[ ] Bug
[ ] Enhancement
[x] Question

Environment

[x ] Office 365 / SharePoint Online
[ ] SharePoint 2016
[ ] SharePoint 2013

Expected or Desired Behavior

PnP Site Provisioning to function without error when creating sites based off of a template which uses content types from a content type hub

Observed Behavior

PnP Site provisioning does not seem to copy content types which are rooted from a content type hub. PnP Site Provisioning fails when creating Lists/List views referencing a content type which was based on a content type hub

Steps to Reproduce

  1. Build a content type hub and add some content types
  2. Create a site collection with lists. Add the content type from Initial structures #1 to that list
  3. Provision a site based on the template created in step Ignore file added #2

Question

I am wondering if anyone here has any suggestions/advise/best practice for working with PnP Site Provisioning along-side of a content type hub. Any workaround folks here have used would be very helpful.

There is a PR #2565 which has been added to ignore content types from a hub, which is certainly an option (the PR is still being reviewed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions