Display Omnichannel chat widget in the footer of your portal
The combination of PowerPortals, Dynamics 365 Omnichannel and Power Virtual Agents increases the level of customer engagement for customers, in this post I'm going to guide you how to add your Omnichannel chat widget that you configured to your portal.
First, below are the pre-requisites to follow the blog,
- You have at least one Portal
- Omnichannel is installed
- Power Virtual Agent bot is configured to hand of chat conversations to Omnichannel
After having the above pre-requisites done, follow the below steps,
- From the "Omnichannel admin center" model-driven application
- Go to Workstreams and create and configure a new workstream based on your channel

- Enter your stream record, and click on "Copy code snippet"

- Switch to "Portal Management" model-driven app
- Create a new content snippet and past the copied snippet from Omnichannel work steam

- Go to "Web Templates" and enter the "Footer" record

- Search for the footer tag and add the widget using the below code
{% include 'snippet' snippet_name:'Your Chat Widget Name' %}
The footer tag will look like this
<footer role="contentinfo">
<div class="footer-top hidden-print">
<div class="container">
<div class="row">
<div class="col-md-6 col-sm-12 col-xs-12 text-left">
{% editable snippets 'About Footer' type: 'html' %}
{% include 'snippet' snippet_name:'Your Chat Widget Name' %}
</div>
</div>
</div>
</div>
- Clear your portal cache by navigating to "<< Your portal URL >>/_services/about"
You need to be logged in to your portal with a contact that has administrator portal role
click on "Clear Cache" button
- Refresh your portal and you will see the chat widget displayed!

That's it!
You want to add it to more web templates? follow the steps from step number 5 on the web template you like.
Published on:
Learn moreRelated posts
Power Pages – Control Power Pages components using client APIs
We are introducing the ability to control Power Pages components using client APIs in Power Pages. This feature will reach general availabilit...
Power Pages – Enable secure server-side logic in Power Pages
We are announcing the ability to enable secure server-side logic in Power Pages. This feature will reach general availability on April 30, 202...
Create an AI-Generated Color Theme in Power Pages Using Copilot
Gone are the days of manually picking hex codes and tweaking CSS variables for hours. Microsoft’s Copilot in Power Pages now lets you de...
{How to } Make Power Page Portal WCAG 2.1 Level A and AA Standards
Hello Everyone,Today I am going to share my thoughts on how to make power pages portal according to the WCAG 2.1 Level A and AA Standards.Let'...
Build a Power Pages Site Using Claude Code and the Power Pages Plugin
In this article, let’s explore the Power Pages plugin for GitHub Copilot CLI and Claude Code provides an AI-assisted workflow for creati...
What Is Power Pages (Power Portal) and How to Use It with Dataverse?
Modern businesses need secure websites where customers, partners, or employees can interact with company data and services. Microsoft Power Pa...
Use Environment Variables with Site Settings in Power Pages
Environment Variables + Site Settings is a best practice architecture pattern in Power Pages that allows you to manage configuration values (l...
Power Platform Pipelines with Power Pages
Power Platform Pipelines have become the recommended ALM approach for Power Apps, Dataverse, and now Power Pages. With the recent enhancements...
The end of Power Pages? (As we know it?)
Every week new features and techniques are dropping not only from Microsoft but other vendors. One of the latest movements is getting agents t...