web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Components won't worki...
Power Apps
Unanswered

Components won't working with Navigate

(0) ShareShare
ReportReport
Posted on by 438

I am attempting to navigate to a screen within a tab list in a modern environment. We are currently working with components. Could you please assist in fixing the navigation formula? Below is what I am using. 

 

'My Profile Tab Lists_6'.Selected.Value = "PBiS Student Portal",
Navigate('Student TabList Menu'.NaviagteScreen, ScreenTransition.Fade)
);
If(
'My Profile Tab Lists_6'.Selected.Value = "Student Registration Portal",
Navigate('Student: DHS Registration Portal', ScreenTransition.Fade)
);
If(
'My Profile Tab Lists_6'.Selected.Value = "Jr. NAD Homepage",
Navigate('All Roles: Jr. NAD Homepage', ScreenTransition.Fade)

 

Screenshot 2024-01-04 at 8.49.42 PM.png

Categories:
I have the same question (0)
  • Samuel-Zhou Profile Picture
    393 on at

    @dylandavis09 Actually your formula can be rewritten as

    Switch('My Profile Tab Lists_6'.Selected.Value,
    "PBiS Student Portal",Navigate('Student TabList Menu'.NaviagteScreen, ScreenTransition.Fade),
    "Student Registration Portal",Navigate('Student: DHS Registration Portal',ScreenTransition.Fade),
    "Jr. NAD Homepage",Navigate('All Roles: Jr. NAD Homepage', ScreenTransition.Fade))
  • dylandavis09 Profile Picture
    438 on at

    @Samuel-Zhou, oh no, my apologies. It appears that my formula is incorrect. I made some adjustments, but the issue persists, and I'm still encountering errors while navigating. I using in components and avoid the errors. 🙂

     

    Screenshot 2024-01-04 at 9.47.31 PM.png

  • Samuel-Zhou Profile Picture
    393 on at

    @dylandavis09 What error message is currently appearing?

  • dylandavis09 Profile Picture
    438 on at

    @Samuel-Zhou , here.

     

    Screenshot 2024-01-04 at 9.52.37 PM.png

  • Samuel-Zhou Profile Picture
    393 on at

    @dylandavis09 

    I believe your screen names should be correct. You can confirm whether the component has been checked to access application scope.

  • dylandavis09 Profile Picture
    438 on at

    @Samuel-Zhou , yeah, it's all correct. I don't know why it's still show as error message. Where is the component has been checked to access application scope?

     

    Screenshot 2024-01-04 at 10.00.35 PM.png

  • Samuel-Zhou Profile Picture
    393 on at

    @dylandavis09 at this place,

     

    SamuelZhou_0-1704423755844.png

     

  • dylandavis09 Profile Picture
    438 on at

    @Samuel-Zhou, got it, and it worked. Then I customized it to add to the screen, and I'm trying to click the icon to visible each time I click. I supposed to use UpdateContext({varStudentTabListMenu: !varStudentTabListMenu}) for this.

    Screenshot 2024-01-04 at 10.13.33 PM.pngScreenshot 2024-01-04 at 10.18.25 PM.png

    Screenshot 2024-01-04 at 10.23.06 PM.png

  • Samuel-Zhou Profile Picture
    393 on at

    @dylandavis09 You can try global variables

     

  • dylandavis09 Profile Picture
    438 on at

    @Samuel-Zhou, sorry again, where I can find global variables?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard