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 / New Permit Form not po...
Power Apps
Suggested Answer

New Permit Form not populating People from SharePoint list People Column.

(0) ShareShare
ReportReport
Posted on by 19
I have it basically setup. See name properties output below.
 
The below is from the Modern Combo Box Properties:
 
DefaultSelectedItems = ThisItem.PermitOwner
Items = Choices(EnvironmentalPermits.PermitOwner)
 
The code for the DataCard Properties:
DataField = PermitOwner
DisplayName = DataSourceInfo(EnvironmentalPermits,DataSourceInfo.DisplayName,PermitOwner)
Update = DataCardValue26_1.Selected
 
None of the above worked.
 
I also tried various code from the internet as well. For example, using the below in the update of the  data card
{
Claims: "i:0#.f|membership|" & Lower(ComboBoxName.Selected.Mail),
Department: "",
DisplayName: ComboBoxName.Selected.DisplayName,
Email: ComboBoxName.Selected.Mail,
JobTitle: "",
Picture: ""
}
 
See image below from the area of my Form in question
 
 
 
Lastly, I only want to pull the DisplayName from the user. Is this possible? I'm sure it is. I'm probably not adding something. Thanks in advance for your help! 
I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at
     
    Pick from what’s already in the list
    If you truly want only people already used in the list column, keep Choices(List.PersonColumn). Then Power Apps can submit the selected record directly without reshaping:

         Items = Choices(EnvironmentalPermits.PermitOwner)
         DefaultSelectedItems = ThisItem.PermitOwner
         Update (single‑select) = DataCardValue_PermitOwner.Selected

    This works because the Choices() output and the SharePoint Person field schema already match. Just know you’ll likely not see your entire directory; this can be confusing and is why many switch to Office365Users.
     
    Common issues to check

    Single vs Multi‑select
         Single: use .Selected in Update; Multi: use ForAll(SelectedItems, …) and return a table of claims records. 
    Modern Combo box “shows numbers”
         Fix the Fields mapping (Primary = DisplayName, SearchField = DisplayName/Mail). Modern controls are still maturing; this mapping is required.
    Default only for New mode
         Use If(Parent.Mode = FormMode.New, <claims record>, ThisItem.PermitOwner) to avoid overwriting existing values.
    Delegation & large tenants
         Choices() won’t scale to thousands of users; use Office365Users.SearchUserV2 and filter/search as you type.
    // Combo box Items (full tenant)
    Office365Users.SearchUserV2(
      { searchTerm: Self.SearchText, isSearchTermRequired: false, top: 999 }
    ).value
    
    // Combo box DefaultSelectedItems
    If(
      Parent.Mode = FormMode.New,
      Blank(),
      ThisItem.PermitOwner
    )
    
    // Data card Update
    {
      '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
      Claims: "i:0#.f|membership|" & Lower(DataCardValue_PermitOwner.Selected.Mail),
      Department: "",
      DisplayName: DataCardValue_PermitOwner.Selected.DisplayName,
      Email: DataCardValue_PermitOwner.Selected.Mail,
      JobTitle: "",
      Picture: ""
    }
     
    You can display only the DisplayName, but you must store the full person record in SharePoint. Show names in the UI via …Selected.DisplayName, but keep the claims record in Update.
    Your earlier claims record attempt is correct approach; just pair it with Office365Users-based Items and ensure Fields mapping is set so the Combo box shows real names.
     
     
    References:
     
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.

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 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard