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 only when spe...
Power Apps
Answered

Navigate only when specific key word is found.

(0) ShareShare
ReportReport
Posted on by 825

Hi All,

 

I'm working on the application which holds some predefined data, the main thing I'm stuck at is, in my browsergallary1, at browserScreen1, I have department name as "Others", and "HR, ICT, Software, etc ", I want the functionality in such a way that if a user selects the "Others", (On BrowserScreen/BrowserGallary) it should navigate to different Screen which is EditFormOtherScreen, and also should be able to submit(EditForm1_1) the created form and then see the detail screen which has only DisplayMode.View on it which is a review, only after he submits the form.

 

Is this functionality possible? If yes how and what are some of the ways I can implement.  I already have tried some please see the attachment for more details.  I want on success function to work well or if you have any suggestions or corrections please go-ahead.  

Onsuccess: 

 

Back(ScreenTransition.CoverRight) & If(Department.'Department Name ' = "Others", Navigate(BrowseScreen1,ScreenTransition.Cover)

 

 

OnSelect(forCheckIcon):

 

SubmitForm(EditForm1); If(Dropdown1.Selected.'Department Name ' = "Others", Navigate(BrowseScreen1) & ResetForm(EditForm1))

 

The feedback is really appreciated. 

 

Thanks,

Tapesh

@WarrenBelz @PowerAddict @mdevaney @Anonymous @yashag2255 @yashar 

 

Categories:
  • Verified answer
    rimatos Profile Picture
    Microsoft Employee on at

    Hi @Tapesh ,

     

    So from my understanding you have a Gallery and in your items you have department name as "Others", and "HR, ICT, Software, etc ". If the user clicks on the "Others" it should navigate to the "EditFormOtherScreen".

     

    Assuming that the Item Title corresponds to the Department, you could try to use logic in your OnSelect formula to do this, similar to this:

     

    If( ThisItem.Title = "Others", Navigate(EditFormOtherScreen, ScreenTransition.CoverRight))

     

    By doing this when you select the item from your Gallery where the Title is "Others", it will navigate into the selected screen in the formula.

     

    Unfortunately, this can only be done by using logic and there is no other way to make this directly. There is an Idea in the Idea Forum that relates to this, should you wish to vote on it.

     

     

     

    As for changing screens to a "DetailScreen" when a form is submitted, you could try changing the default setting of:

     

    OnSuccess = Back()

    OnFailure = false

     

    image.png

     

     

    You could change the Navigation formula to something like:

     

    OnSuccess = Navigate(DetailScreen)

     

     

     

    Hope this reply helps you move forward! If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     
    Regards,
    Ricardo
  • Tapesh Profile Picture
    825 on at

    Perfect , Thanks a alot. This is really a great thing 

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 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard