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 / Passing a value using ...
Power Apps
Answered

Passing a value using Navigate function

(0) ShareShare
ReportReport
Posted on by 154

Hello,

 

Using Navigate to pass a value doesn't seem to work for me.  I'm sure it's something simple, but I can't figure out what is wrong.

 

I have a simple app that allows users to "check in" either at the office, or at a work event.  if they are at a work event, they can enter their work location and the submit that work location.

 

I want to take that work location to another screen where I have a few more questions that need answers and then the whole thing is submitted to my SharePoint list for storage.  Everything works accept I can't get this work location passed to the next screen for submission.  It's just blank.

 

Navigate(QuestionScreen, Transition.None, {WorkEventInput_User:vWorkEvent});

 

I get the Work Event information on screen one from a text input called "WorkEventInput_user" and then I'm expecting it to be available on the QuestionScreen as "vWorkEvent".

 

Unfortunately, when I test if the variable has passed to the Questionscreen, this test code appears blank:

 

"Work Event: " & vWorkEvent

 

Am I doing it right?

 

 

Categories:
I have the same question (0)
  • timl Profile Picture
    36,391 Super User 2025 Season 2 on at

    Hi @AaronTheYoung 

    I think the syntax you're looking for is this:

    Navigate(QuestionScreen, Transition.None, {vWorkEvent:WorkEventInput_User.Text});

    On your source screen, this would assign the text value of your WorkEventInput_User text input to the vWorkEvent variable.

    You can then access this variable on your QuestionScreen by name (vWorkEvent).

     

     

  • AaronTheYoung Profile Picture
    154 on at

    Yeah!  That seems to work.  So can I pass that variable on to ANOTHER screen in the same fashion?

     

    It tried to make the vWorkEvent a global variable in App Start section, but that wasn't working either.

     

    Still new at this PowerApps thing.  Thanks so much!

  • Verified answer
    timl Profile Picture
    36,391 Super User 2025 Season 2 on at

    Hi @AaronTheYoung 

    Yes, you can pass the variable onto another screen in the same fashion.

    The other thing I would mention is that on your QuestionScreen, you can directly retrieve the textbox value from your previous screen like so:

    WorkEventInput_User.Text

     Therefore, it isn't completely necessary to pass variables in this type of situation.

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard