Loading...

Display Omnichannel chat widget in the footer of your portal

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,

  1. You have at least one Portal
  2. Omnichannel is installed
  3. Power Virtual Agent bot is configured to hand of chat conversations to Omnichannel

After having the above pre-requisites done, follow the below steps,

  1. From the "Omnichannel admin center" model-driven application
  2. Go to Workstreams and create and configure a new workstream based on your channel image.png
  3. Enter your stream record, and click on "Copy code snippet" image.png
  4. Switch to "Portal Management" model-driven app
  5. Create a new content snippet and past the copied snippet from Omnichannel work steam image.png
  6. Go to "Web Templates" and enter the "Footer" record image.png
  7. 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>
  1. 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

  1. Refresh your portal and you will see the chat widget displayed! image.png image.png

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 more
Vite apps
Vite apps

Vite apps

Share post:

Related posts

Build a Dynamic PDF Generator in Power Pages

Trigger Power Automate from portal JavaScript → flow queries Dataverse → generates PDF using HTML-to-PDF converter → returns base64 → portal t...

1 day ago

Power Pages Backend Trifecta

The arrival of Server Logic marks a major shift in how we handle logic in Power Pages. In this post, I explore what I call the "Power Pages Ba...

2 days ago

Custom FetchXML Aggregation in Power Pages — Build a KPI Dashboard Without Power BI

Overview Power BI is a great tool — but it requires additional licensing, an embed configuration, and adds complexity to your portal architect...

6 days ago

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...

29 days ago

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...

29 days ago

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...

1 month ago

{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'...

1 month ago

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...

1 month ago

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...

1 month ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy