Forum Discussion

omkar kuchekar's avatar
omkar kuchekar
Copper Contributor
May 19, 2017

How to Provision Site Columns and Content Types using Provisioning Template by Patterns and Practice

Hi All,   I would like to add site columns and content type using PnP provisioning schema xml template. I need XML format for this like sitefields. I am using below xml but it doesnt creating any s...
  • omkar kuchekar's avatar
    omkar kuchekar
    May 19, 2017
    Yes got the solution. adding existing site column to list as below.

    <pnp:FieldRefs>
    <pnp:FieldRef ID="baf7091c-01fb-4831-a975-08254f87f234" Name="Non-Working Day" DisplayName="Non-Working Day"></pnp:FieldRef>
    </pnp:FieldRefs>

Resources