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 / Unable to switch power...
Power Apps
Unanswered

Unable to switch powerapp screen based on status values in SharePoint

(0) ShareShare
ReportReport
Posted on by 30

Hello There,

 

I have a SharePoint List created and where I am storing some status data.

For that I have created a new PowerApps with different screens.

now, I want to switch between the Screens based on status value.

I tried if statement on SharePointIntigration's On Edit Property but it still opens the first screen.

 

OnEdit formula.PNG
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @Sachin2 ,

    Firstly I will caution you that I have found trying to set Variables on an on-start-type trigger with an integrated form is less than reliable, particularly if you do not refresh the list before choosing the next item. I have also given up on using the built-in functions when I have a multi-screen form and instead give users button like a canvas app, Having said that, try the below, which gets rid of the Variable

    Switch(
     SharePointIntegration.Selected.Status,
     "Second",
     EditForm(YourFirstFormName);
     Navigate(
     FormScreenl_l,
     ScreenTransition.Cover
     ),
     "Third",
     EditForm(YourSecondFormName);
     Navigate(
     FormScreenl_2,
     ScreenTransition.Cover
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @Sachin2 ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Sachin2 Profile Picture
    30 on at

    Hey @WarrenBelz ,

    Thank You for your help. But sorry to say it is still not working for me.

    Still it lands on first powerapp screen even if I use the code.

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Thanks @Sachin2 ,

    I can only suggest you go to buttons / icons on the forms for navigation - I have never been able to get conditional arguments on the built-in functions or passing Variables to work consistently, particularly if the SharePoint is not refreshed before selection of the record.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard