When we build a SharePoint hosted app, all pages and other resources are served by SharePoint from within the app web. For this reason, SharePoint hosted apps automatically inherit the look and feel of the host web and present custom functionality within the familiar SharePoint environment. This inheritance is not automatic when we create a remote hosted app because the remote web is served from outside the SharePoint environment. There is no requirement to ensure that your remote web looks like the host web but a similar look and feel reassures users, positions familiar links and controls where users expect them, and can ease the adoption of your app time. Steps to add host web master page to app pages 1. To use the Chrome Control, copy the sp.ui.controls.js JavaScript library into your remote web project. 2. Ensure each page in app includes <script> element to the above JavaScript file. < script ...
SharePoint Excellence is a community for Microsoft 365 professionals.