pnp / pnp/pnpframework

using `Export-PnPPage` & `Invoke-PnPSiteTemplate` - created page has no thumbnail shown when source page thumbnail is auto-populated from header image

Open
#894 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

Apologies if this is not the correct project for this issue, the PnP PowerShell project suggested items relating to the provisioning engine belonged here which is why i've raised this issue here.

Observed behaviour
When exporting a page that has a thumbnail that matches its header image (hasn't been individually set) using export-pnppage the returned xml template has ThumbnailUrl="". When then using Invoke-PnPSiteTemplate with this xml template, the created page has no visible thumbnail.

Expected behaviour
export-pnppage and Invoke-PnPSiteTemplate would result in a thumbnail displaying on the destination page if the source page had a displayed thumbnail

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the flow described with Export-PnPPage and Invoke-PnPSiteTemplate, then inspect the exported XML where ThumbnailUrl is empty. Compare a source page whose thumbnail is auto-populated from its header image with the created destination page. Done means the exported template preserves the displayed thumbnail and the provisioned page shows it.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.