pnp / PnP-Sites-Core

Microsoft 365 Dev PnP Core component (.NET) targeted for increasing developer productivity with CSOM based solutions.
Other
417 stars 644 forks source link

Discussion Board is not provisioned correctly #1423

Open andikrueger opened 6 years ago

andikrueger commented 6 years ago

Category

[x ] Bug [ ] Enhancement

Environment

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

If SharePoint on-premises, what's exact CU version: 2013 October 2016

Expected or Desired Behavior

The discussion board gets provisioned without any issues.

Observed Behavior

My newly provisioned discussion board does not show the following fields "title" and "question" in the Newform.aspx. Both fields are available at the content type, but not in the new form.

Steps to Reproduce

Please find attached a demo template: discussion.zip

There is related issue in the Provision-Schema repo: 244

andikrueger commented 6 years ago

I did some more testing on this issue. I'm was able to provision a discussion board with the PnP PowerShell like this

New-PnPList -Title "Diskussion" -Url "Lists/Diskussion" -Template DiscussionBoard -Verbose

The outcome is fine and the discussion board works. I'm still stuck when I try to provision this board via the template.

PedroMordeP commented 6 years ago

I have this issue too on Office 365 / SharePoint Online Using version 2.19.1710.2

Any idea how to overcome this?

I remove the Discussition Board list and create a new one with New-PnPList -Title "Discussion Board" -Template 108

But I have a page with an web part "linked" to the previous list. When provisioning that page the web part don't appear/ is not in the page.