Feb 20 2018 05:02 PM
Hi
Here is a segment of my PnPProvisioningTemplate ......
<pnp:DataRows xmlns:pnp="http://schemas.dev.office.com/PnP/2018/01/ProvisioningSchema">
<pnp:DataRow>
<pnp:DataValue FieldName="Body">
<div class="ExternalClass2F850735FDA2417C916D0762C1ABDA23">
<span style="font-size:24px;">All systems operating normally.......
<span id="ms-rterangecursor-start" />
<span id="ms-rterangecursor-end" />
</span>
<br />
</div>
</pnp:DataValue>
When I come to Apply-PnPProvisioningTemplate, I get this error:-
The element 'http://schemas.dev.office.com/PnP/2018/01/ProvisioningSchema:DataValue' cannot contain child element 'div' because the parent element's content model is text only.
I am assuming the schema does not like the <div> but this has come from a Rich Text Field.
Do I need to escape the '<' and the '>' ?
Regards
Nigel