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 / pass people field para...
Power Apps
Answered

pass people field parameter to URL

(0) ShareShare
ReportReport
Posted on by Microsoft Employee


Trying to create a URL that links to the loged in users profile page.  The profile page is not set by ID but by People field Email.  I set param for screen but when putting together it is only taking me to the home page of the app not the specified page.  

 

App Setting:  If(Param("prmScreen")="ParticipantDirectLinkTesting",Navigate(ParticipantDirectScreen1_1,ScreenTransition.None)

 

ParticiapantDirectScreen.OnVisible: 

Set(varParticipant,Param("ParticipantName"))

 

Form on ParticipantDirectScreen: 

First(Filter('LDP Participant Data',Text('Participant Name'.Email)=varParticipant))

 

Failing url: 

https://web.powerapps.com/apps/[AppID]?prmScreen="ParticipantDirectLinkTesting"&ParticpantName=[my email]

 

Any ideas on how to make url go to participant screen to thier profile?

 

Categories:
I have the same question (0)
  • jhall Profile Picture
    636 on at

    I don't know if you're having this issue, but I am currently having a problem where the first parameter is always blank on incoming linkings.  For example, if I send ...?A=1&B=2 then A is always blank while B is populated properly.  You might check that just to make sure it's coming in correctly.  If not, then this might be some wider issue than just my own tenant.

    I also have a long writeup on just some of the common issues around passing parameters on my blog.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    A couple things to check/answer:

    1) You have a misspelling in your parameter.  The failing URL you listed shows "ParticpantName" and your formula shows "ParticipantName"

    2) Are you getting a value in varParticipant?

    3) Consider this formula to tighten your app up a bit:

    Lookup('LDP Participant Data',
     'Participant Name'.Email = Param("ParticipantName") 
     )

    4) How big is your 'LDP Participant Data' datasource and what is your maximum records set to in your Advanced Settings?

     

    Hopefully one of these will uncover the issue.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes 

    As to your question:

    1. Thank you for pointing out my incorrect spelling. even with it corrected it is still only navigating me to the main page of the app

    2. the app is showing no value for param varParticipant

    3. Where did you intend for this to replace? Form on ParticipantDirectScreen? when I replaced your formuala with this one I got an error.

    4. This is only a test list with 4 items in it. The threshhold set to 2000.

     

    all help is greatly appreciated!

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 


    1. Thank you for pointing out my incorrect spelling. even with it corrected it is still only navigating me to the main page of the app

    No problem, just wanted to make sure you weren't chasing a spelling mistake. 

    So, first thing is that there is a little bug in the parameters in PowerApps dealing with the first parameter.  The simple workaround for that is to change your URL to something like this:

    https://web.powerapps.com/apps/[AppID]?emptyPrm=&prmScreen=ParticipantDirectLinkTesting&ParticpantName=[my email] 

    Also note that I removed your quotes from around the ParticipantDirectLinkTesting as you probably will not need them.

     

     

    2. the app is showing no value for param varParticipant

    Put a label on your screen and set the Text property to Param("ParticipantName")  Try again and see if there is a value in your label.  There should be.

     

    3. Where did you intend for this to replace? Form on ParticipantDirectScreen? when I replaced your formula with this one I got an error.

    Where ever you had the original First(Filter('LDP ... formula.  First(Filter is really the same as Lookup except that it deals with one record only First(Filter will deal with all records in the filter and then return the first record.  If you're only looking for one record, then just Lookup one record...performance will be better.

     

    4. This is only a test list with 4 items in it. The threshhold set to 2000.

    Okay, just checking to make sure there was not some issue with record numbers.

     

    Review the above and see where you are with the parameter.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard