Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Create Collection for the Multislect People type column

(0) ShareShare
ReportReport
Posted on by

Hi Everyone 

 

I have two multiselect people type column in my SharePoint List 

 

On start of the app, I have tried to create a collection for the record

 

ClearCollect(
SelectedPersons,
Filter(
NPP_IT_Top_risks,
!IsBlank(Risk_Owner)
)
);
ClearCollect(
SelectedPersons2,
Filter(
NPP_IT_Top_risks,
!IsBlank(LT_Owner)
)
)

  Both LT owner and Risk Onwer are multi select person type column 

 

The collection is not showing any data  or record 

 

 "Onslect " of the button I have added following formula.

 

 

If(
User().Email in SelectedPersons.Email ||
User().Email in SelectedPersons2.Email ||
User().Email in ["ropp.com", "sivwpp.com", "Solan@wpp.com", "nikithpp.com", "robipp.com", "Richpp.com"],
Navigate(
'New Top IT Risk',
ScreenTransition.Fade
),
Notify("You don't have access to this screen")
)

 

 

Could anyone please check what is wrong with the formula 

 

  • VishalJhaveri Profile Picture
    1,167 Super User 2025 Season 1 on at
    Re: Create Collection for the Multislect People type column

    A

    Screen1

    A

    Screen2

    A

    Screen3

    B

    Screen1

    C

    Screen1


    Create the MS Groups namely A, B, C and then assign them screen which they can access in SharePoint list.
    Now, when the user will open the Canvas Apps, based upon the role assigned he/she will get access to only those screens that are mentioned in the SharePoint List. You need to write expressions or code accordingly. 
  • Danny_Dicaprio Profile Picture
    on at
    Re: Create Collection for the Multislect People type column

    Hi @VishalJhaveri 

     

    Can you please be brief

  • VishalJhaveri Profile Picture
    1,167 Super User 2025 Season 1 on at
    Re: Create Collection for the Multislect People type column

    You can create a group and write screen names across those groups in SharePoint List.
    Based upon the group accessing the application, you must assign a role. And based on the role assigned, it must correspond to the role written in SharePoint list.

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,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard