I have a very basic application customiser that adds a custom css file to the page, hiding certain elements like the "Get the mobile app" button. The app is installed in the mysite host app catalog, and has been added to the mysite host site collection and runs fine on all pages in the site collection, however it does no run on the SharePoint homepage:


Is this expected behaviour, and if so what is an alternate approach to customising the SharePoint homepage?

  • As per my understanding, App customizer will work on modern site pages only and https://my-domain/_layouts/15/sharepoint.aspx is a application page. So, it will not work on this page. – Ganesh Sanap Mar 11 at 5:34

As Ganesh Sanap mentioned in the comment, sharepoint.aspx is an application page in SharePoint 2019, which is known as non-editable and should not be deleted. That is why SPFx Application Customizer does not work for this page.

As far as I know, the only option would be to create a custom application page instead of modifying the default one.

Reference: Create application pages for SharePoint.

  • Yeah I wasn't planning to modify this file, but I would have thought allowing us to modify or configure it, particularly on prem would be a no-brainer. The ability to at least hide elements like the "Get the mobile app" button are kind of essential in a corporate environment. – Geoff Bailey Mar 11 at 22:32
  • @GeoffBailey It is currently not supported to hide/remove the “Get the mobile app”. There already are requests raised in the SharePoint UserVoice forum: sharepoint.uservoice.com/forums/329214-sites-and-collaboration/… – Chelsea_MSFT Mar 12 at 5:36
  • Thanks @Chelsea_MSFT, I was sort of aware of that, but I thought it would be possible to customise the SharePoint homepage with an application customiser. It seems like that's actually not possible at all though. Correct me if I'm wrong please anyone – Geoff Bailey 2 days ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.