Forum Discussion
Enterprise Content Types and PNP Provisioning
Paul,
Thanks! My first test was a success, though the site had been running for a day or so. This would mean that the Enterprise Content Type was present on the site. I'll do a bit more testing later this week to see if there is an issue of timing following provisioning. I may just have to test the site for the Content Type prior to continuing with my code.
As long as the source of the pnp file and the target are in the same tenant, not a problem.
The content types from the hub will be in the site before the PnP file is processed.
If the pnp is from a different tenant then the Guids won't match and you'll get duplicate field errors,
Dave
- Matthew McDermottJul 25, 2017Brass Contributor
Thanks! I was planning on using the same Content Type ID when I provisioned the Enterprise Content Type (using PNP to do the initial creation of the content type in the CT Hub) so I can keep the ID the same across tenants.
I'll keep testing, but so far I haven't found a problem.