Forum Discussion

Nikhil1992's avatar
Nikhil1992
Copper Contributor
Sep 03, 2021

Created site using PnP provisioning, but when published the template from based site, all the images

Hi,

1) We have created the base template site.
2) Extract the site using the PnP command and applied on test site:

Connect-PnPOnline -URL "BaseTemplateSiteURL"
Get-PnPSiteTemplate -Out "D:\templateCustom.xml" -Handlers "Lists" -ExcludeHandlers "SiteSecurity,TermGroups,Fields,ContentTypes,Navigation" -PersistBrandingFiles -IncludeAllPages -Force

 

Connect-PnPOnline -URL "CustomTemplateAppliedSiteURL"
Invoke-PnPSiteTemplate -Path "C:\templateCustom.xml" -ResourceFolder "C:\"

3) All Images and copied to SiteAssests.

4) All Webpart Working fine, but When we have Published the page from base template site, Hero WebPart thumbnail nt visible to us in all the sites(based site and the sites where the template is applied).

5) Please find the below screenshot:

 

6) Will Share the extracted xml if required.

7) We found the related link for the issue.
https://techcommunity.microsoft.com/t5/sharepoint/hero-web-parts-that-were-pnp-provisioned-images-are-flickering/m-p/325817

 

When we are applying the xml, everything is working except Hero Webpart thumbnails, please help me to resolve this issue.

Thanks,
Nikhil

  • Nikhil1992's avatar
    Nikhil1992
    Copper Contributor
    Hi,
    Issue for Hero WebPart fixed automatically, images looks fine for based template and sites where the custom template applied.

    Can you please confirm if its Microsoft issue, or Any fixed by Microsoft in background.

    Thanks,
    Nikhil

Resources