Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
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:
  • furqanmajeed Profile Picture
    71 on at
    Re: How to get URL of web page where PVA chat bot is embedded

    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

  • D365EL Profile Picture
    40 on at
    Re: How to get URL of web page where PVA chat bot is embedded

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

  • furqanmajeed Profile Picture
    71 on at
    Re: How to get URL of web page where PVA chat bot is embedded

    @D365EL were you able to solve this issue? 

     

  • D365EL Profile Picture
    40 on at
    Re: How to get URL of web page where PVA chat bot is embedded

    Thanks @HenryJammes for the follow-up.

  • HenryJammes Profile Picture
    on at
    Re: How to get URL of web page where PVA chat bot is embedded

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

  • HenryJammes Profile Picture
    on at
    Re: How to get URL of web page where PVA chat bot is embedded

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

  • D365EL Profile Picture
    40 on at
    Re: How to get URL of web page where PVA chat bot is embedded

    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
    Re: How to get URL of web page where PVA chat bot is embedded

    Hi @D365EL,

     

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

     

    Henry

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 76

#2
Pablo Roldan Profile Picture

Pablo Roldan 61

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard