Skip to main content

Notifications

Copilot Studio - General
Answered

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

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

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,997

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard