Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composed Look - Font and Color not getting applied referred from Site Collection #642

Open
Naveen-Rangarajan opened this issue Oct 15, 2024 · 0 comments

Comments

@Naveen-Rangarajan
Copy link

I am using "2022/09/ProvisioningSchema" for Site Provisioning. I am trying to apply my client's fonts and custom color using custom provisioning XML template with "ComposedLook". But its not getting applied. Below, I have detailed out what has been done until now. Please check and let me know what am I missing.

I have a main site named "Resources" with URL - https://MyTenant.sharepoint.com/sites/resources

A doc library named "General" is created and nested folders are added like --> "brands" --> "fonts" where font files ".ttf" and ".woff2" are uploaded (just these 2 font files). So the path looks like below -
"https://MyTenant.sharepoint.com/sites/resources/General/brands/fonts/MyClientSans-Regular.woff2" &
"https://MyTenant.sharepoint.com/sites/resources/General/brands/fonts/MyClientSans-Regular.ttf"

These links are referred in my .spfont file as shown in the attached screen shot.
fontscheme001_myclient

The file is named as "fontscheme001_MyClient.spfont". Similarly, the color palette file is named as "Palette001_MyClient.spcolor". These files are now uploaded to Theme Gallery/15 folder. Then referred in the XML template as attached below.
XML Template

I have created a test site with URL - https://MyTenant.sharepoint.com/sites/TestSite

I connect to this site using the PnP cmd Connect-PnPOnline and then applying the template using the cmd
Apply-PnPProvisioningTemplate -Path CommunicationTemplateBranding.xml

The colors and fonts are not getting applied. It does not throw any error while applying the Provisioning Template. So, I dont have any errors to showcase. Any help will be highly appreciated. Thanks in advance.

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

No branches or pull requests

1 participant