pnp / PnP-Sites-Core

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

Issue to add custom web part to List View Page using PnP File or PnP Page although it works for Publishing Pages #2669

Open mohammadamer opened 4 years ago

mohammadamer commented 4 years ago

Category [x] Bug [ ] Enhancement

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

Expected or Desired Behavior my requirements are to add a custom webpart to a view page for a specific list. During provisioning of a site page , I expect that webPart will be added to the page. Actually that was already done for publishing page but the issue is that wasn't succeed with a list view page. Note: It works only for publishing pages with pnp file

Observed Behavior with List view pages Exception: System.ApplicationException: The provided template is not valid! Steps to Reproduce when using pnp file Steps to Reproduce when using pnp page
ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.