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.
Solved! Go to Solution.
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
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
Thank you very much I will check it.
User | Count |
---|---|
124 | |
87 | |
86 | |
75 | |
69 |
User | Count |
---|---|
214 | |
181 | |
139 | |
96 | |
83 |