Provisioning - Adding a File & setting Site Logo #1239
Replies: 1 comment
-
Never mind, this seems to be a pebcak issue, sorry! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I'm currently working on a project to provision some sites and am having a strange problem. I'm uploading a file, let's say 'logo.png', which gets added to the 'Site Assets' folder. Within that same provisioning file I'm also trying to set the 'SiteLogo' value in the 'pnp:WebSettings'. The problem however is that SharePoint won't allow you to set the logo if it can't find the file. And since files are added after the WebSettings are set, it won't ever work.
I did check and seed that this used to work in some of our older provisioning which was 100% built on PnP.Framework and not PnP.Core. Is there something that changed between then and now?
I'm currently solving this by just manually setting the logo through code in some post-provisioning function, but it's weird that this doesn't work anymore.
-Dvde
Beta Was this translation helpful? Give feedback.
All reactions