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 argument to anoth...
Power Apps
Answered

Pass argument to another screen

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

   

Disclaimer: total noob, English not my native language, not a coder*

 

Hi, I am working on school project and he have to make a mock app, my teacher heard about powerapp and students have it for free so here I am.

 

We made a data base in SharePoint, with “login” information and other data of our choosing. To logging, our teacher helps us with the following code:

 

If(user_in.Text in _db.User && pass_in in _db.Password, Navigate(perfil)&&Reset(pass_in)&&Reset(user_in))

 

In 2 labels we add user and password from db and if it matches we go to next screen but I want to take it a bit further: once we hit de button and we goes to next screen, it will open a display form based on the db.User.

 

 

After searching I could find a a way to do it and I hope you can help but please remember I not a coder but I can understand...Stuff.

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    In the Navigate() command you can pass a value as a context variable by placing it in the third parameter position.  Read through this documentation on Navigate() and the linked article on Context Variables at the bottom of the page.  There's a specific example on the page that uses this syntax.

    Navigate( Details, ScreenTransition.Fade, { ID: 12 } )

    A variable called ID with a value of 12 will be available on the Details screen after navigating to it.

    Back and Navigate functions - Power Apps | Microsoft Docs

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you very much I will check it.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard