Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [pnp-provision]

The tag has no usage guidance.

0
votes
0answers
15 views

Get-PnPProvisioningTemplate : Get additional pages from Pages library as a part of the XML file

How can i get the pages from Pages library as a part of the XML file?
0
votes
1answer
19 views

provide a SPOSiteDesign from XML instead of JSON

Is there a way to provide a modern ui site template based on an XML file? This doesn't seem to work. $site_script = Get-Content -Path "./siteTemplate1.xml" -Raw $SiteScript = Add-SPOSiteScript -...
0
votes
1answer
9 views

provide teamsite template trough sitescript: cannot convert Object[] to string

I made a (simple) sitescripttemplate in JSON which I would like to make available for all the users who can create a site. The inconvenience lies in the fact I only got it working which I write the ...
0
votes
0answers
12 views

Provision a list with attached content type and site columns

I have a custom content type defined in the contenthub, with attached custom site columns. I want to provision a list (via site script and site design). But with the solution I have, the content type ...
1
vote
1answer
68 views

PnP powershell provision Site with webpart

I am dynamically creating sites (Modern sites/pages) and I want to add embed webpart with embedded code each time a site gets created. How can I do that with PnP Powershell script?
2
votes
0answers
33 views

PNP Provisioning - WelcomePageView in Document Sets

I see that this is now supposed to be supported through the 2018/07 schema? There is at least something there. <XmlDocument NamespaceURI="http://schemas.microsoft.com/office/...
1
vote
0answers
112 views

PnP Provision Page Layout in Sharepoint Online

I am provisioning Sharepoint online page layout changes using pnp provisioning. Steps performed are: 1- Go to SiteCollection->Design Manager-> Upload Design Files-> click on _catalog/masterpage/ link ...
1
vote
0answers
32 views

Update page after provisioning modern page

I'm using the Pnp framework to provision a modern site with some web parts on it. After adding Quick Links web part and open the page I see the text "We didn't find anything to show here." in that ...
0
votes
1answer
83 views

Programatically add a user to people web part

I'm trying to programatically(c#) add a user to a sharepoint People web part on a modern page but with no success. I try to set the "persons"-property the same way it looks after adding a person ...
1
vote
1answer
19 views

Twitter feed programmatically on modern page

Building a mvc app for sharepoint. Anyone know how to programmatically add a twitter feed on modern page in sharepoint?
2
votes
0answers
46 views

Provision site with pnp package gives file not found error

I would like to move the provisioning templates to SharePoint Online so I need to convert them to pnp package. I try to convert a folder with provisioning files using the Convert-...
0
votes
0answers
58 views

Add Remote Event Receiver via PnP Provisioning Schema

I am Working with PnP Provisioning engine and its working as expected. Now what I am looking for is to associate Remote Event Receiver to List/Library via PnP Provisioning Shema. Below is the link ...
0
votes
1answer
104 views

PnP Site Provisioning saving site template, but not homepage

I am using PnP PowerShell to save a SharePoint TeamSite (STO#3) as a provisioning template. This works fine. However, the homepage of the site is not being saved. My PowerShell Script: # Variables ...
1
vote
1answer
76 views

PnP Site Provisioning Documentation

I have successfully saved a Site Template using the following PowerShell command: Get-PnPProvisioningTemplate -Out $templateFile -PersistBrandingFiles -PersistPublishingFiles; I'm looking in the ...
0
votes
0answers
16 views

Feature Framework Site Provisioning vs Remote Site Provisioning - Moving Content

My understanding is if you use Feature Framework Site Provisioning, you can save off 50MB of data to the Template. I tried it and received that message. Does that limitation still exist in PnP Site ...
1
vote
3answers
194 views

Provisioning a Site template to several SharePoint Group Sites with PowerShell

I am trying to search for site collections which are of the type "Office 365 Group site collections (GROUP#0)" and then want to apply the Provisioning Template to all the group sites returned in the ...
0
votes
2answers
284 views

Export Import Workflow SharePoint Online

I have got created a list workflow in SharePoint Designer for a SharePoint Online Site Collection. Now I want to export this workflow and import it automatically to a new site collection during / ...
2
votes
2answers
157 views

PnP Provisioning | Create a SharePoint list with rating enabled

We are unable to create a SharePoint list with rating enabled on it. Can someone help us in creating XML schema for the above requirement. Thanks in advance.
0
votes
0answers
98 views

Include Specific list in PnP Provisioning

I would like to use PnP Provisioning engine to clone list from one site to another. In order to do so, I would like to create provisioning template with just one list in it. When I use ...
0
votes
1answer
181 views

ApplyProvisioningTemplate SharePoint Publishing Feature no response in SharePoint Online

We want to enable some SharePoint features during the provisioning process. In our PnP-Template there are three GUIDs of features, which have to be enabled: <?xml version="1.0" encoding="utf-8" ?&...
0
votes
1answer
39 views

WebPart disappears after applying template

I have a Shared Documents list that I add to a page: <pnp:WebPart Title="Documents" Zone="Body" Order="1"> <pnp:Contents> <webParts> <webPart xmlns="http://...
1
vote
2answers
84 views

Run PnP provisioning script in the cloud

With SP2010, we had our site provisioning process on the server. Now, with SharePoint Online, we have no servers anymore, we got PnP provisioning, that is great, but now I wonder, can I put the PnP ...
0
votes
0answers
18 views

Add site navigation to views

How can I add the site path by default to all files created during PnP provisioning? I could add this to specific page like this, where I have the option to use an external aspx files: <td ...
0
votes
0answers
200 views

Add Field List Instance to List Content Type using PNP Provisioning

I'm using PNP provisioning templates. I have created a template for the root site that creates columns and content types. In the subweb, I have another template that creates 2 list instances. One ...
1
vote
2answers
174 views

Content Type is provisioning in SharePoint Online

I am aware that custom content type will not be available immediately in any existing site when we create a new one. In my experience, I have seen that it takes somewhere around 6-8 hours to appear in ...
1
vote
1answer
48 views

Should GUID's be unique?

I'm a little confused about the guid's used in the provisioning template. I understand that I can generate a new guid with the {guid} token. What is not clear, when shall I use it? What is the scope ...
0
votes
2answers
316 views

PNP Provisioning: read external content into template

Can I have the different sections of a PNP provisioning XML template in separate files and combine them when applying the template? Like having all lists in a lists.xml, refer to this list in the ...
1
vote
0answers
92 views

PNP site provisioning: how to remove top link bar and site title completely?

I would like to remove the top link bar and the page title and gain the space occupied by them. I can hide them by adding this to the template: <SharePoint:StyleBlock runat="server"> .ms-...
1
vote
1answer
81 views

How to site Provisioning in office 365 (SharePoint online) by Custom

I want to do site provisioning (Custom), not using pnp starter kit, all should be done by custom. I have custom list/ columns, custom look and content type. How to package and how to deploy on o365
0
votes
1answer
51 views

Order web parts on page

Can someone give me a hint, how can I rearrange web parts on the page? Changing the Column property or giving 3 or higher value to the Row property gives always an error during provisioning: Apply-...
0
votes
1answer
529 views

Use XML Web part in PnP provisioning template

I exported an xml viewer web part with Get-PnPWebPartXml and expected that I could copy-paste this to a pnp provisioning template. Looks like that the schema is different and instead of this (example ...
0
votes
2answers
296 views

Site provisioning: add web part to page

I would like to present a document library on the home page (default.aspx) of a classic SPO site. What I would do with hand is to edit the page - add web part - apps - select the document library. I ...
0
votes
1answer
54 views

SharePoint Site Script throwning error

I am planning to use SharePoint Site Scripts to provision modern sites. But, when I run command on PowerShell to add site script I am running to error. I am facing the same issue, in other tenant as ...
0
votes
0answers
286 views

Add lookupfield using powershell

I would like to add a lookupfield as a sitecolumn using PowerShell...but I don't want to use xml definition. Anybody has a solution using pnp cmdlets ? Thx
0
votes
2answers
582 views

SharePoint PnP PowerShell Provision Comments with Modern page

I an provisioning some modern pages from One site to another using SharePoint PnP PowerShell by Generating and Applying Provisioning Template. I am able to Provision the page with web parts but the ...
3
votes
0answers
65 views

Composed look does not get applied to the new site collection using PnP Partner Pack

I create a site collection as I made some simple modifications like I applied a new composed look which is an OOTB one. I added two pages in the site pages library. I saved the site as a template ...
6
votes
2answers
941 views

Adding Spfx Web Parts to Modern site Pages using PNP CSOM in Azure AD Apps

I had Create a web application with Azure AD authentication using Azure AD Application. I had granted all permission for SharePoint Online,Graph Api and Active Directory to the App for provisioning ...
0
votes
1answer
113 views

Add SFPX Extension to an existing App Package

Just wondered if anyone has successfully added an SPFx extension to an existing App Package or provisioned without using an package. We have an existing hosted provider application, an associated ...
1
vote
1answer
77 views

Create a .pnp file from a directory

I would like to source control an XML provisioning engine template and all of its required assets (js, css, html, etc.) in a Visual Studio project. When the time comes to provision the site, Id like ...
4
votes
3answers
2k views

How to Provision a list with data using SharePoint Online PnP C#?

I have a custom list with few records in it. Now I am using PnP Provisioning Engine to provision the custom list to some other sites. By default, PnP is only provisioning the list structure and ...
4
votes
0answers
385 views

How to provision the custom list form using PnP Provisioning Engine?

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 ...
1
vote
0answers
80 views

pnp update existing out of the box field

I have an xml document which contains a list of content types and fields. One currently contains a field that is out of the box, which I am wanting to change the default value of within this xml ...
3
votes
0answers
36 views

PnP Provisioning engine apply same configuration to all lists of a certain tpye

As far as I can see from the PnP provisioning engine, each list instance needs to be specifically defined in the XML file. Is there a way that you can define one particular configuration to apply to ...
0
votes
1answer
154 views

PnP provisioning Frame work import search configuration

Through PNP provisioning frame work I am Provisioning some Site column, Lists, JS, CSS etc file to a newly created site. It work fine but when i tried to Import a Existing Search XML to the newly ...
0
votes
1answer
211 views

SharePoint Online PNP Provisioning framework- Webpart added multiple times when deployed multiple time

We have used PNP Provisioning framework to deploy Custom Pages. I am facing below issues: Even if the Overwrite="false" I can see that the page is modified and in some pages the some webparts are ...
1
vote
1answer
416 views

Get-PnPProvisioningTemplate User Groups and Workflows

In my today's SharePoint situation I need to replicate an website from a dev environment into another dev environment (without content, only structures). I have been looking to the Get-...
3
votes
1answer
445 views

The content type “System Page Layout” at “/sites/my-site” is sealed. pnp provisioning engine SharePoint online

I'm doing some test copying sites with the pnp provisioning engine framework and at ApplyProvisioningTemplate content type step I get this error The content type "System Page Layout" at "..." is ...
0
votes
1answer
520 views

Pnp & remote provisioning : how to enable metadata navigation for a list or library via xml template?

it's me again. Going deeper and deeper into PnP and remote provisioning is like a roller coaster experience. We can do so much things ! And yet, there is like no real formal documentation. What i ...
7
votes
1answer
1k views

Pnp provisioning : Provision a 2 List Webpart Page using jslink with xml template

I have the big question for you : How to provision a simple page with 2 ListView Webpart? What i want : I am provisioning a simple page (using OneColumns layout) via pnp and remote provsionsing. My ...
5
votes
2answers
213 views

Cannot publish my SharePoint MVC app project in VS

I created in VS2015 a new App. VS will create automatically an app project and an MVC web project. Inside my MVC web project I have an template xml file as follow: <?xml version="1.0"?> <pnp:...