Build a better SharePoint Blog with Copilot
Find the right article, explore related topics, and read without leaving the overview. A Copilot-generated HTML app can turn your SharePoint content into an inviting blog experience, complete with search, filters, a colorful tag cloud, and article previews.
In this video, I show how I built this interface and refined it with Copilot. I also explain a challenge I encountered along the way: preview images that would not load. With a small extension to the existing content workflow, those images become part of the data the app can display.
From automatically prepared content to a useful Blog
The solution builds on the content assistant demonstrated in my previous video. That Copilot workflow analyzes an article, creates a short introduction, assigns keywords, and finds a suitable preview image. It then stores this information in the SharePoint page library.
The next step is to put that information to work. The new HTML app reads the existing article information and presents it in a familiar blog layout. Readers can browse previews, narrow down the selection, and open an article that interests them.
This connects two useful capabilities: the workflow prepares the content, while the app makes it easier to discover and read.
Search and Filter without losing the overview
A search bar sits at the top of the page. As readers type, the article list updates automatically and shows the number of matching entries. Clearing the search brings the broader selection back.
The filter panel on the left provides several ways to narrow down the results:
- Created by: Find articles created by a particular person.
- Tags: Explore articles associated with a topic.
- Modified date: Limit the selection to a relevant time range.
Readers can combine these options and use a reset button to clear the active search and filters. This makes it easy to switch between a focused search and general browsing.
A Tag Cloud that shows popular topics
The tags appear as a colorful tag cloud. Each tag has its own color, and frequently used tags appear in a heavier font. In the demonstration, “Copilot” stands out more strongly than a tag used for only one article.
This gives readers a quick visual indication of which topics appear most often. The tags also serve as filters, connecting that overview directly to the relevant articles.
Article previews that help readers choose
The right-hand area contains the article previews. Each preview brings together a title, author information, creation date, tags, a short introduction, and an image when available.
The introduction comes from the column populated by the existing Copilot workflow. Readers can therefore get a useful first impression of an article without opening it immediately.
For an internal knowledge blog, this could help colleagues quickly distinguish between a practical guide, a product update, and a more detailed background article.
Open the full article in an overlay
Clicking an article title opens the full article in an overlay above the blog overview. Readers can explore the content, close the overlay, and continue browsing the other articles.
The blog remains the central starting point throughout the experience. This is especially convenient when someone wants to read several articles or compare information across related topics.
Describe the experience to Copilot, then refine it
The interface starts with a detailed prompt describing a modern, responsive, interactive blog app connected to the underlying SharePoint list or library.
Rather than asking only for “a blog page,” the prompt explains the individual parts: the overall layout, search area, left-hand filters, article previews, sorting and display options, and the behavior when someone opens an article.
The first result still needed refinement. For example, the initial version displayed tags as a flat list of checkboxes. A follow-up prompt changed that list into the tag cloud shown in the video.
The practical lesson is to work in small steps. Describe the overall experience first, review the result, and then ask Copilot to improve specific elements. The same approach lets you adapt the filters, preview details, and layout to your own content.
Why some preview images would not load
During implementation, some article previews showed broken images. The image addresses were present, but the app could not display the pictures.
SharePoint runs the generated HTML app inside a protected frame, often called a sandboxed iframe. Security rules control where that app can load content from. These rules are known as the Content Security Policy, or CSP.
In the demonstrated environment, an image hosted on an external domain was blocked by those rules. Adding the domain to SharePoint’s HTML Field Security settings did not resolve this particular image-loading problem.
This does not mean that every externally hosted image is blocked. The important distinction is whether the image source is permitted by the app’s security policy. Because the content workflow can find images on different websites, relying on the original address was not sufficient for this solution.
The solution: Store the image data with the article
The solution shown in the video uses an image format that the demonstrated app permits: an embedded image represented as text. This representation is called base64.
You do not need to understand the encoding process to follow the idea. Instead of telling the browser where to download a picture, the app receives the picture’s data and uses it directly.
I extended the existing workflow with the following steps:
- Add a Preview Image column. A new multiple-lines-of-text column in the page library stores the encoded image data.
- Download the selected image. An HTTP action in the workflow retrieves the image found by the content assistant.
- Optionally save a local copy. In the demonstration, the workflow also saves the image in the SharePoint Site Assets library. This is useful for keeping a copy, but it is not required for the embedded-image approach.
- Update the article’s image data. In the demonstrated workflow, the HTTP action’s output already contains the base64 data in a property named
$content. The workflow writes that value into the Preview Image column. - Tell Copilot how to display it. The app reads the stored data and adds the appropriate data URL prefix for the image type.
The original image URL can remain available in the existing banner image field. The blog preview uses the additional image-data column, so displaying the thumbnail no longer requires a separate request to the original image host.
Practical tip: Use small, compressed preview images and check that the encoded text fits the column’s storage limit. Base64 increases the amount of data being stored and loaded. This approach solves the demonstrated image-source problem; the app’s other security and size limits still apply.
See the complete experience in action
The result combines automatically prepared article information with an interface that encourages browsing: live search, useful filters, a visual tag cloud, informative previews, and full articles in an overlay.
Watch the video to see the blog app in action, follow the image-loading solution, and explore how the initial prompt and follow-up instructions shaped the interface. You can then adapt the same ideas for a team knowledge blog, an internal news collection, or a topic-focused SharePoint portal.
Kommentare