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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to pass the parame...
Power Apps
Answered

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
    Microsoft Employee 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 404

#2
timl Profile Picture

timl 344 Super User 2026 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

Last 30 days Overall leaderboard