web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to get URL of web ...
Copilot Studio
Unanswered

How to get URL of web page where PVA chat bot is embedded

(0) ShareShare
ReportReport
Posted on by 40

Hello Community,

When we integrate the PVA bot with D365 Omnichannel using live chat channel, does anyone know if it is possible to get the URL of the webpage that the chat bot widget is on when the customer launches a new conversation with the chat bot?

Categories:
I have the same question (0)
  • HenryJammes Profile Picture
    on at

    Hi @D365EL,

     

    Here are couple of resources that should help you achieve this:

     

    Henry

  • D365EL Profile Picture
    40 on at

    Hi @HenryJammes ,

     

    Thank you for the information. From this article that you shared (https://www.linkedin.com/pulse/secret-power-virtual-agents-r%25C3%25A9mi-dyon/?trackingId=a6mH8mAFQQCwK19GASM%2FQw%3D%3D), it looks like we will need to implement some JavaScript on the web site in order to pass the URL of the web page to the PVA bot. 

     

    My quick question is: I guess there is no way for the PVA bot to get the URL of the web page where the chat bot conversation is initiated without the JavaScript, am I right? There is no easier way to achieve this by simply working with context variables - there is no out of the box way for the PVA bot (or the Chat channel configured in D365 Omnichannel) to know the URL of the web site where the conversation is initiated, is this correct?

  • HenryJammes Profile Picture
    on at

    Hi @D365EL, I'll double check for the omnichannel integration, but that's my understanding, yes. 

  • HenryJammes Profile Picture
    on at

    @D365EL I confirm - this requires customizations on the client side, even for the OC integration.

  • D365EL Profile Picture
    40 on at

    Thanks @HenryJammes for the follow-up.

  • furqanmajeed Profile Picture
    71 on at

    @D365EL were you able to solve this issue? 

     

  • D365EL Profile Picture
    40 on at

    Hi @furqanmajeed , I haven't been able to implement this successfully... Have you done this before?

  • furqanmajeed Profile Picture
    71 on at

    I have not I am looking for a solution too. I opened a threat couple months back may be you can follow that. https://powerusers.microsoft.com/t5/General/How-to-get-Current-website-from-PVA-bot/m-p/2039681#M5032

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard