SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.25k stars 1.01k forks source link

Favicon functionality #2338

Closed ruslanurban closed 4 years ago

ruslanurban commented 6 years ago

Category

Expected or Desired Behavior

Currently, the SharePoint PnP schema and core implementation are missing the favicon functionality. My understanding is that SharePoint master pages contain a SharePoint:SPShortcutIcon tag that renders out the default SharePoint icon /_layouts/images/favicon.ico. The icon file is stored in the SharePoint file hive, and there is no way to change it in a controlled manner other than modifying of the master page or implementing script-based workarounds. Modifying of master page is not a recommended approach for SharePoint Online and there is no CSOM or REST API to replace the hard-coded URL with an URL to an icon file that is relative to a site or a CDN location. It would be nice if SharePoint architects change the default location of the favicon in the out-of-the-box master pages to a location on the site, like in the {masterpagecatog} for example, and/or add favicon functionality to SharePoint APIs so that we would be able to set an alternative site icon (e.g. on the Site title and logo configuration page, and via SCOM/REST). Than, it would become possible to define it in the provisioning template schema and implement in the sp-sites-core (e.g. FavIcon attribute on the WebSettings element).

msft-github-bot commented 4 years ago

This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 6 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open the issue.