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 / Navigate to different ...
Power Apps
Answered

Navigate to different screens based on record field value

(0) ShareShare
ReportReport
Posted on by 85

I'm customizing a SharePoint online OOTB form in a list to use power apps forms. I would like to navigate to different screens based on the status field value for that record. If I open the record in a list view and 'Status' field = Test, I want it to navigate to the Engineering screen. If 'Status' = Test2, I want it to navigate to the Assignments screen. I can't get this to work. I've tried two separate solutions from scouring the interwebs that have been unsuccessful.

 

TEST1:

(from Sharepointintegration.OnEdit or OnView)

Refresh('YourSPList');
EditForm(Default Form);
If(SharePointIntegration.Selected.Status.Value = "Test", Navigate(Engineering,ScreenTransition.Fade))

 

TEST2:

(from App.StartScreen)

If(DataCardValue63.Text = "Test", Engineering, Default)

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @ShawnPelletier ,

     

    Maybe you could add a timer control and set it's

    Duration

    1000

    AutoStart

    true

    Repeat

    true

    OnTimerEnd

    If(SharePointIntegration.Selected.Status.Value = "Test", Navigate(Engineering,ScreenTransition.Fade))

    Visible

    false

     

    Best Regards,

    Bof

     

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @ShawnPelletier ,

     

    Maybe you could add a timer control and set it's

    Duration

    1000

    AutoStart

    true

    Repeat

    true

    OnTimerEnd

    If(SharePointIntegration.Selected.Status.Value = "Test", Navigate(Engineering,ScreenTransition.Fade))

    Visible

    false

     

    Best Regards,

    Bof

     

  • ShawnPelletier Profile Picture
    85 on at

    The Status.Value string gives me an error > Invalid use of (.). Status is a text input and I'll get the same error if I use .Text

  • jdellipa Profile Picture
    16 on at

    Hey Sean,

     

    I am trying to do something very similar did you ever get this fixed?

     

  • ShawnPelletier Profile Picture
    85 on at

    I did get it working. I used "DataCardValue63.Text" which is the actual name of the control. 'Status' is the SharePoint field name.

     

    Another step I learned the hard way: 

    To submit data from additional forms in your app you have to add them to OnSave of 'SharePointIntegration' like so:

    SubmitForm('default');  SubmitForm('Form1'); SubmitForm('Form2'); etc

  • jdellipa Profile Picture
    16 on at

    Can you elaborate on "DataCardValue63.Text" and the Status in Sharepoint field name? Or provide the exact syntax? thanks man

     

     

  • ShawnPelletier Profile Picture
    85 on at

    This is the formula I used in the timer end property:

    If(DataCardValue63.Text = "Pending Engineering", Navigate(Engineering,ScreenTransition.Fade));
    If(DataCardValue63.Text = "Pending Disqualification", Navigate(Assignments,ScreenTransition.Fade));

  • jdellipa Profile Picture
    16 on at

    Ah gotcha, what screen did you put this on? And also what is your OnEdit, OnSave, etc?

     

    Thanks!!!

     

  • ShawnPelletier Profile Picture
    85 on at

    Place the timer on the default form. 

    OnSave = SubmitForm('Default Form'); SubmitForm('Engineering Form'); [submit form for every form you have built]

    OnEdit = SharePointIntegration

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard