Integrating Copilot-Generated HTML Apps Seamlessly into SharePoint
A custom SharePoint solution makes it easy to embed an HTML-based app created with Copilot directly into a modern SharePoint page—without the distracting page-viewer controls normally displayed by the standard Embed web part.
Copilot can turn a simple prompt into a useful HTML application surprisingly quickly. The example demonstrated in the video is an interactive dashboard for managing address data. It displays the available entries, provides a search and filter function, and links users to the form for creating a new item. The generated HTML file is then stored in a SharePoint document library.
The limitation of the standard Embed web part
A library-hosted HTML page can be added to a SharePoint page with the standard Embed web part and an iframe. However, SharePoint usually opens the file through its preview or page-viewer experience. The associated viewer controls remain visible around the embedded application, making it look like an externally displayed document instead of a native part of the page.
A cleaner integration with the HTML App Integrator
The demonstrated HTML App Integrator solves this presentation problem. After adding the app to a SharePoint page, only two mandatory settings are required: the URL of the SharePoint site containing the HTML file and the file’s relative path. Once the configuration is applied, the HTML application is loaded directly into the web part area.
No additional page-viewer chrome or preview controls are displayed. The Copilot-generated app therefore blends cleanly into the SharePoint page while retaining its interactive behavior. In the demonstration, searching and filtering work as expected, and buttons can open the corresponding SharePoint item forms.
From Copilot prompt to SharePoint app
This approach creates a short and practical route from an idea to an integrated business application: generate an HTML-based app with Copilot, store the resulting file in a SharePoint library, and reference it from the integrator web part. It is especially useful for lightweight dashboards, directories, data views, and other focused user interfaces that should appear as a natural part of a SharePoint page.
Kommentare