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 / Open a specific app sc...
Power Apps
Answered

Open a specific app screen depending on the project status

(0) ShareShare
ReportReport
Posted on by 12

Hello everyone,

I'm currently building a project tracking app of sorts. The app is built into 6-7 different screens, each one for a different phase in the project. The datasource is a Sharepoint list. Each screen has it's own form, in which all reference the Sharepoint list.

 

My problem is that once the user opens the first screen and submits the data, I can't find a way to link the opening screen to which phase the project is currently in. (So that the user won't have to skip through every previous phase).

So far I've attempted to set global variables to the submit button, in order to create a "Status" , but I was informed by Power Apps that variables aren't permitted in the onstart or startscreen properties.

 

Thanks in advance for the help!

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @PowerFan95 

    Variable are permitted in the OnStart action, but not in the StartScreen property.

     

    Storing the status in a variable though is not going to do you much good as you will want your app to look at the status of the record when it starts.  Any variable will no longer have a value when you start the app.

     

    I would suggest a "landing screen" that would then have logic in a Timer control to lookup the status and then Navigate to the appropriate screen.

     

    I hope this is helpful for you.

  • PowerFan95 Profile Picture
    12 on at

    Thanks for your reply! When I created the landing page, I used an If-Function, that contained navigate functions, to check the Value of the Datacard the status is stored in. While the formula is probably technically correct, I keep getting the error message that this formula would always mean navigating away from the landing screen. Is there any way to bypass this or am I attempting this the wrong way?

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard