I am provisioning sharepoint sites using a pnp site template and would like to add an embed web part. I am able to add 'people' web parts with the following:
<pnp:CanvasControl WebPartType="People" JsonControlData="{"id": "7f718435-ee4d-431c-bdbf-9c4ff326f46e", "instanceId": "7aca25b7-b4a9-48e5-a97f-1527a0140b52", "title": "People", "description": "People", "dataVersion": "1.3", "properties": {"layout":1,"persons":[]}, "serverProcessedContent": {"htmlStrings":{},"searchablePlainTexts":{"title":""},"imageSources":{},"links":{}}, "dynamicDataPaths": {}, "dynamicDataValues": {}}" ControlId="7f718435-ee4d-431c-bdbf-9c4ff326f46e" Order="1" Column="3" />
The CanvasControl
contains a WebPartType
, JsonControlData
, ControlId
, order
and column
properties.
Changing the WebPartType
to Embed
is a given, but where does the <iframe>
markup for the embed go?