cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kumar9024021
Level: Powered On

Re: Populate SharePoint list Approver dropdown with Job Title VP from User Profile - SharePoint Online

Hi @v-xida-msft ,

 

I face a weird issue where all the profile which starts with alphabetical order A, can be seen in the Approver dropdown. It just shows 5 profiles in dropdown all starting with Alphabet A. I have some 200 profile with Job Title "Senior Associate" but showing only 5. If i use other filter criteria like "Vice President", it always returns empty. But there are 48 Vice Presidents. Any idea what could be the issue.

 

I used below formula to set Items property initially to atleast retrieve some results.

 

Filter(Office365Users.SearchUser(),JobTitle="Senior Associate").DisplayName

Community Support Team
Community Support Team

Re: Populate SharePoint list Approver dropdown with Job Title VP from User Profile - SharePoint Online

Hi @Kumar9024021 ,

Is the Approver a Choice type column or a Person type column in your SP List?

 

If the Approver field is a Person column, and you want to see all available user options when you click the Approver Person field ComboBox, please consider take a try with the following workaround:

Set the Items property of the Approver ComboBox to following:

Filter(
       Office365Users.SearchUser(), 
       Office365Users.MyProfile().Department in JobTitle
)

Set the IsSearchable property of the Approver ComboBox to following:

true

Set the Update property of the Approver Data card which contains the Approver ComboBox in your Edit form to following:

ForAll(
      ApproverComboBox.SelectedItems,
      {
      Claims: "i:0#.f|membership|" & Lower(Mail),
      DisplayName: DisplayName,
      Email: Mail,
      Department: "",  
      JobTitle:"", 
      Picture:""
     }
)

then configure the Approver ComboBox as Person layout as below:

 

Note: I assume that you have enabled "Allow multiple selections" option for the Approver field in your SP List.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,684)