Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

PnP provisionning ContentType do not appear

$
0
0

Hello,

   I discover the pnp prov framework.

   I sucessfully provisionned (on office online) a new page and a custom list.

   Now I try to provision a content type with a single field, neither the content type nor the field appear in the admin (sSite Settings -> Site Content Types) pages.

   Can anybody see something wrong in the xml I used?

The xml code I use  is has follow:<?xml version="1.0"?><pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2015/12/ProvisioningSchema"><pnp:Preferences Generator="OfficeDevPnP.Core, Version=2.0.1601.0, Culture=neutral, PublicKeyToken=null" /><pnp:Templates ID="CONTAINER-LOOKUPDEMO"><pnp:ProvisioningTemplate ID="LOOKUPDEMO" Version="1"><pnp:SiteFields><Field ID="{813E0521-D94D-41D3-8E81-E79FB247DF75}" Name="PnPOrderApproved" StaticName="PnPOrderApproved"
		DisplayName="Approved" Group="PnP Site Columns" Type="Boolean" /></pnp:SiteFields><pnp:ContentTypes><pnp:ContentType ID="0x01002D415D16908E4116B6E2A940036C2028" Name="PnPOrder" Description="Order" Group="PnP Content Types"><pnp:FieldRefs><pnp:FieldRef ID="813E0521-D94D-41D3-8E81-E79FB247DF75" Name="PnPOrderApproved" Required="true" /></pnp:FieldRefs></pnp:ContentType></pnp:ContentTypes></pnp:ProvisioningTemplate></pnp:Templates></pnp:Provisioning>

Kind regards.

Claude


Viewing all articles
Browse latest Browse all 11571


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>