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 / Power Apps / How to pass the parame...
Power Apps
Unanswered

How to pass the parameter through SharePoint Page URL and get it passed to Powerapps placed inside a WebPart (iframe or Microsoft Power Apps webpart)?

(0) ShareShare
ReportReport
Posted on by 7

I wonder there has been any progress on passing parameters dynamically into embedded PowerApps in SharePoint page since a similar question was posted back in 2020 in the forum. I have found this post dated 2019 SharePoint - Passing Parameters in Power Apps - Blue Flame Labs (theblueflamelabs.com) mentioning it was not possible , hoping there will be an option now.

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @reshmee011 ,

     

    I am not a professional SharePoint developer, but iIt should be possible to use JS code to get the parameter of the current URL and then append it to the src attribute of the iframe.

     

    vbofengmsft_0-1685092592421.png

    vbofengmsft_1-1685092672836.png

     

     

     <script>
     let appIframe=document.querySelector("iframe")
     let orgsrc=appIframe.src
     let urlParameters= window.location.search
     appIframe.src=orgSrc+urlParameters
     
     </script>

     

     

    Also, I think this problem is related to SharePoint development, I suggest you go to the SharePoint forum for help

    https://techcommunity.microsoft.com/t5/sharepoint/ct-p/SharePoint

     

    Best Regards,

    Bof

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 > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard