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 / Back() is false User d...
Power Apps
Answered

Back() is false User didn't navigated between screens

(0) ShareShare
ReportReport
Posted on by 40

Hi,

How to check if a user already navigated between screens? In the documentation I found this: "Back normally returns true but returns false if the user hasn't navigated to another screen since starting the app." I'm currently not able to get this working.

I have created an app, that can be started from a link in a Teams chat message. The app will open a variable screen and shows immediately all details of an item from the message. But at that time the user didn't navigate between screens and Back() will not work. I would like to hide the button or I would like to navigate the user to the home screen when Back() is false.

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-navigate

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @PDRinoG 

    Since you are checking the condition from the URL (params) that launched your app, I would suggest looking at the presence of those again to determine the visibility of the Back option.  Trying to get the value of Back is somewhat misleading.  It will return true or false, but it will only do that when it performs the action, so there is no way to get it prior to doing the Back action.

     

    I hope this is helpful for you.

  • PDRinoG Profile Picture
    40 on at

    Ok thanks, will do that as work around

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

    Hi @PDRinoG ,

     

    Has your problem been resolved?

    If your problem has been solved, you could mark the correct reply as a solution.

     

    Best Regards,

    Wearsky

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard