-
Notifications
You must be signed in to change notification settings - Fork 163
Description
If you create a template from an aspx-site with the "DocumentEmbed" webpart inside the created xml-file uses a wrong parameter to point to the correct file. Uploading this xml file with "Invoke-PnPSiteTemplate" to a target site collection leads to an error that don't let you create a new site based on this xml definition from the template catalog.
If you click on "use this template" the new site cannot be created
After checking the calls made by opening a normal page with this webpart from the site-pages library with the calls made from the template-catalog I saw that the working call is using the document-id(?) of the linked file, while the the template uses a path to the file.
After changing this in the xml file created by the pnp.provisioning engine from path to document-id and pushing it again to the target site I could create a new site from the template.
So I think to make this webpart working again the pnp.provisioning engine has to export the document-id(?) instead of the path.
Best regards
stefan