Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Navigate to Screen Depending on Logged in User and Sharepoint Column Text

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

 

Need a little help if you can please

 

I have a sharepoint list named ChangeRequests

 

I have a screen with a Gallery called Gallery2 and the Items Property set to:

 

 

(Filter(ChangeRequests,
(Lower(User().Email) in (Stage1Approver1) || (Lower(User().Email) in (Stage1Approver2) && IsBlank(Stage1ApprovalStatus) && (ChangeStatus="Submitted") ||
(Lower(User().Email) in ('R&D Approver') && IsBlank('R&D Approval Status') && (ChangeStatus="Awaiting Department Approval") ||
(Lower(User().Email) in ('IT Approver') && IsBlank('IT Approval Status') && (ChangeStatus="Awaiting Department Approval")
))))))

 

 

In Gallery2 there is a Button with the OnSelect property to Navigate to a new screen with a Form to show the results of Gallery2.Selected. At the bottom of this screen, there is another button to add comments and approval. The OnSelect of this button is currently:

 

 

Gallery2.Selected;Navigate(Screen1)

 

 

I'd like to change this code to select the request that has been selected from Gallery2 and to navigate to a screen called Stage1Approval if the logged in user is listed in my SharePoint List (ChangeRequests) column named Stage1Approver1 OR in the column named Stage1Approver2 and also if the Text in column Stage1ApprovalStatus is "Submitted"

 

But navigate to a different screen called Screen1 if the logged in user is listed in a TextInput (displayed like user1@domain.com;user2@domain.com) and the text in the SharePoint column Department1Status is "Awaiting Department Approval"
OR if the logged in user is listed in a TextInput (displayed like user3@domain.com;user4@domain.com) and the text in the SharePoint column Department2Status is "Awaiting Department Approval"
OR if the logged in user is listed in a TextInput (displayed like user5@domain.com;user6@domain.com) and the text in the SharePoint column Department3Status is "Awaiting Department Approval"

 

If it can't be done by looking at one textinput for the email address as I mention above then I can do each email address in separate TextInputs so that TextInput1 would display user1@domain.com and TextInput2 would display user2@domain.com etc.

 

Thanks in advance!

 

Dave

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard