PnP Provisioning Engine - list edit form

%3CLINGO-SUB%20id%3D%22lingo-sub-121590%22%20slang%3D%22en-US%22%3EPnP%20Provisioning%20Engine%20-%20list%20edit%20form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-121590%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI'm%20new%20to%20PnP%20%26amp%3B%20provisioning%20engine.%3C%2FP%3E%3CP%3EFrom%20the%20samples%20on%20GitHub%20I%20created%20got%20a%20template%20from%20a%20site%20and%20provisioned%20to%20an%20existing%20site.%3C%2FP%3E%3CP%3EBut%20on%20the%20site%20used%20as%20template%20I%20have%20modified%20the%20EditForm%20for%20the%20doc.lib%20with%20an%20extra%20script-web%20Part%20and%20jslink%20for%20the%20doc%2Fproperties%20wp.%20These%20modification%26nbsp%3Baren't%20in%20the%20template%20xml%20nor%20the%20new%20site.%3C%2FP%3E%3CP%3EAlso%20the%20views%20created%20for%20the%20same%20doc.lib%20is%20missing.%3C%2FP%3E%3CP%3EHow%20do%20I%20get%20these%20modifications%20provisioned%20to%20the%20new%20site%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-122297%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20Provisioning%20Engine%20-%20list%20edit%20form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-122297%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20used%20the%26nbsp%3BGetProvisioningTemplate()%20to%20get%20a%20template%20from%20a%20site%20set%20up%20as%20I%20want%20the%20new%20sites%20to%20be.%3C%2FP%3E%3CP%3EDo%20I%20have%20to%20fill%20inn%26nbsp%3Bxml%20for%20lists%20edit-%20and%20view%20forms%2C%26nbsp%3B%20script%20web%20parts%20and%20web-parts%20jslinks%20manually%3F%3C%2FP%3E%3CP%3EOr%20is%20there%20a%20method%2Fparameter%2Fetc%20to%20get%20these%20additions%20from%20the%20site%20made%20for%20template%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-121939%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20Provisioning%20Engine%20-%20list%20edit%20form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-121939%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethe%20templates%20for%20your%20editform%20have%20to%20be%20in%20the%20xml%20as%20well.%20You%20also%20mentioned%20the%20views%20i%20guess%20you%20mean%20the%20views%20on%20a%20homepage%3F%20on%20default%20it%20always%20takes%20the%20standaard%20view%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eyou%20have%20to%20create%20a%26nbsp%3Bextra%20handler%20to%20change%20the%20view.%20But%20Must%20say%20they%20could%20have%20changed%20the%20part%20on%20the%20views%20lately%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi,

I'm new to PnP & provisioning engine.

From the samples on GitHub I created got a template from a site and provisioned to an existing site.

But on the site used as template I have modified the EditForm for the doc.lib with an extra script-web Part and jslink for the doc/properties wp. These modification aren't in the template xml nor the new site.

Also the views created for the same doc.lib is missing.

How do I get these modifications provisioned to the new site?

 

2 Replies
Highlighted

Hi,

 

the templates for your editform have to be in the xml as well. You also mentioned the views i guess you mean the views on a homepage? on default it always takes the standaard view 

 

you have to create a extra handler to change the view. But Must say they could have changed the part on the views lately

Highlighted

Thanks,

 

I used the GetProvisioningTemplate() to get a template from a site set up as I want the new sites to be.

Do I have to fill inn xml for lists edit- and view forms,  script web parts and web-parts jslinks manually?

Or is there a method/parameter/etc to get these additions from the site made for template?