Forum Discussion
Apply fonts from Sharepoint Management Shell
- Aug 30, 2022Couple of things:
Surround c:\Fonts using double quotes "C:\Fonts"
run the PowerShell window as administrator
Also, to specify the -libraryUrl, remove Forms/AllItems.aspx from the url in the parameter.
as the example in Docs.
AndresGorzelany I do connect successfully to SP tenant with my creds in SP Man Shell
I reinstalled the latest SP Man Shell module and it successfully knows the command but now when I run the command it results in another strange error , see attached.
It is already a document library called FontLibrary.
Surround c:\Fonts using double quotes "C:\Fonts"
run the PowerShell window as administrator
Also, to specify the -libraryUrl, remove Forms/AllItems.aspx from the url in the parameter.
as the example in Docs.
- george_71239Sep 01, 2022Copper Contributor
AndresGorzelany thanks Andres. I successfully removed that library and added the 'true' library as public, will wait a couple of days to see if fonts that I already uploaded in 'shell' to be in Powerpoint. Will keep you posted, thanks.
- Sep 01, 2022If it is showing the old library and I see in the screenshot it is set as OfficeTemplateLibrary (For PowerPoint, Word, Excel templates) instead of OfficeFontLibrary
I recommend you to start over, first with the Font Library, then with other libraries that you need (ImageDocumentLibrary or OfficeTemplateLibrary) - george_71239Sep 01, 2022Copper Contributor
AndresGorzelany Hi Andres
It is showing the old font library that it had a problem with (see attached).
It's been 2 days and the fonts are not showing up in Powerpoint web maybe because its showing the old font library which was problematic?
- Aug 30, 2022What's the output for
get-SPOOrgAssetsLibrary? - george_71239Aug 30, 2022Copper Contributor
AndresGorzelany Thanks Andres.
I see another problem, as I created a new doc library for the fonts , Powerpoint is still showing the old library (see attached). If I designate the new library do I have to do this whole process again?
- Aug 30, 2022Glad to hear.
Image libraries work slightly different, they will be available only on SharePoint Online
https://docs.microsoft.com/en-us/sharepoint/organization-assets-library - george_71239Aug 30, 2022Copper ContributorThanks, the double quotes helped but I had to recreate the document library as it wasn't applying, thank you for your help.
Do image libraries work the same way? Thanks again.