Skip to content

Conversation

@czullu
Copy link
Contributor

@czullu czullu commented Sep 26, 2025

depends on pnp/pnpcore#1691

christian zuellig added 4 commits September 8, 2025 13:32
rebuild from webProperties and use pnp.core BrandingManager

Open to implement:
"footerbackgroundimageurl",
"footerbackgroundimagefocalpoint",
"backgroundimageurl"
fix SiteFooter - Url needs decoding
//Header Background Image
var backgroundImageUrl = web.GetPropertyBagValueString("BackgroundImageUrl", "");
if (!string.IsNullOrWhiteSpace(backgroundImageUrl))
{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are missing a Uri.UnescapeDataString here

web.Context.ExecuteQueryRetry();
ClientResult<Stream> stream = file.OpenBinaryStream();
web.Context.ExecuteQueryRetry();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And you are missing a
web.EnsureProperty(f => f.ServerRelativeUrl); I think because when I was running it gave a property is not loaded exception

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants