4

I am following this article for provisioning Sites for SharePoint Online through console application.

Now, In the base site, I have created the custom list and a new custom list form for the list. I want to provision the same site to my newly created site collection. But when I provision, my new site does not contain any custom list form.

My question is, How to provision the custom list form using PnP Provisioning Engine?

  • Have you tried this? Get-PnPProvisioningTemplate -Out template.pnp -Handlers Lists – SharePointer Oct 16 '17 at 20:25
  • Is there any alternative using C# code for this? – Aakash Maurya Oct 17 '17 at 3:53
  • Are you trying to provision sites with particular list/libraries and Is there any particular reasons you would need to do this with C#? – SharePointer Oct 17 '17 at 16:15
  • 1
    @AakashMaurya Yes, there's plain PowerShell code (which I believe can be easily ported to C# as it uses the same CSOM API): c-sharpcorner.com/UploadFile/82b15a/… – DmytroL Nov 14 '18 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.