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 funtion chang...
Power Apps
Unanswered

Navigate funtion changes according to the user !!

(0) ShareShare
ReportReport
Posted on by 23

Hello All,

I am trying to built an app as the follwing:

I have 2 types of users (owners and admins) but each of them has different screen.

I build a spesific screen for each one of them. Also, I build a List (manage Access) in SharePoint365 that contains  two columns (Email and Role).

I need to chack if the user has access first depending if his name is in Manage access list (done) 🙂 

Now I need help in the navigate function where I have to retrieve the role of the user and take him to his screen.

 

 

Spoiler (Highlight to read)

ForAll(AccessManagment, Switch(User().Email ,  Email.Email, Navigate(AdminsMainScreen,None)))

 

ForAll(AccessManagment, Switch(User().Email ,  Email.Email, Navigate(AdminsMainScreen,None))) 

my list's name is AccessManagemtn ; I have check if the user in the Email colunm (works) but I need to direct the user to a screen depends on his role ??

In my code here I have only one option to navigate to the Admin Screen , but I need to make this navigate function retrieve my user role an take him to his screen !!! 😞 

 

Thank you in advance,

Bassel

Categories:
I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 477

#2
WarrenBelz Profile Picture

WarrenBelz 341 Most Valuable Professional

#3
11manish Profile Picture

11manish 317

Last 30 days Overall leaderboard