I have a collection created from SharePoint that has a field for a screen reference within Power Apps. When the Navigate property is true, it should navigate to the next screen that has true.
Pretty sure my problem is that the screen text (Screen1, Screen2, etc) is coming across as text from SharePoint and it is not related to the actual screen itself. How should I correct this?
What you are trying to do is not possible in PowerApps. There is no way to refer to a screen without actually typing it in the formula bar. Pulling it in from SharePoint won't work.
Go vote for the INDIRECT references idea if you'd like to see it in a future version.
---Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
You can use a Switch formula to check the value of your field and then navigate to the appropriate screen accordingly:
Switch( COLLECTION_NAME.Screen, "Screen1", Navigate( Screen1, ScreenTransition.None ), "Screen2", Navigate( Screen2, ScreenTransition.None ), "Screen3", Navigate( Screen3, ScreenTransition.None ) )
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.