cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HallieG
Helper II
Helper II

App OnStart - Navigate to screen decision

Hi!

 

I am creating an App that will allow users to "signup" for a team and then have simple interactive tasks to complete daily. Currently, the app starts with a signup screen then navigates to the interactive screen. 

 

How can I verify if they are currently signed up for a team and automatically start (or quick auto transition) to the interactive screen? 

 

OnVisible does not allow you to use navigate(). 

 

Any help is appreciated. 

 

thank you, 

1 ACCEPTED SOLUTION

Accepted Solutions
K-A-R-L
Solution Specialist
Solution Specialist

Hi @HallieG ,

If you have a list of Users (eg: ListOfUsers) that has an email address column called "EmailColumn"as Data Source.
You can add an Office365Users connector then add this to your OnStart Property:


Set(
MyProfile,
Office365Users.MyProfile()
);
ClearCollect(TeamList,ListOfUsers);
If(MyProfile.Mail in TeamList.EmailColumn,Navigate(InteractiveScreen,ScreenTransition.None),Navigate(SignUpScreen,ScreenTransition.None));

Cheers


 

 

 

 

 

View solution in original post

4 REPLIES 4
RandyHayes
Super User
Super User

@HallieG 

What you can consider doing is to put a Timer control on the screen.  Set the duration very short and set the AutoStart to true.

In the OnTimerEnd action, you can put your navigation formula there.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
K-A-R-L
Solution Specialist
Solution Specialist

Hi @HallieG ,

If you have a list of Users (eg: ListOfUsers) that has an email address column called "EmailColumn"as Data Source.
You can add an Office365Users connector then add this to your OnStart Property:


Set(
MyProfile,
Office365Users.MyProfile()
);
ClearCollect(TeamList,ListOfUsers);
If(MyProfile.Mail in TeamList.EmailColumn,Navigate(InteractiveScreen,ScreenTransition.None),Navigate(SignUpScreen,ScreenTransition.None));

Cheers


 

 

 

 

 

View solution in original post

@K-A-R-L 

Good call...how soon I forget that you can navigate from the OnStart. It's still a relatively new feature.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Thank you!
 This worked, I did have to refer to an actual data source since the collection would reset when leaving the app!

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,733)