Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

how to get current website URL in PVA Bot when it's published on sharepoint using iframe ?

(0) ShareShare
ReportReport
Posted on by 30

in PVA BOT how to know current url route if i have my bot published on sharepoint ? 
i want to do that because on each different page i want to call different api in pva

  • Verified answer
    marwan1231 Profile Picture
    30 on at
    Re: how to get current website URL in PVA Bot when it's published on sharepoint using iframe ?

    i followed the steps in this post to host pva on sharepoint using webpart
    https://powerusers.microsoft.com/t5/General/PVA-Canvas-App-Control-Unable-to-connect/m-p/2354802#M6633

  • marwan1231 Profile Picture
    30 on at
    Re: how to get current website URL in PVA Bot when it's published on sharepoint using iframe ?

    and do i get only the base url of the current website or do i get in which route im in if it's possible 

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 132

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 81 Super User 2025 Season 1

#3
Pablo Roldan Profile Picture

Pablo Roldan 61