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 / why does not person sa...
Power Apps
Answered

why does not person save to sharepoint list?

(0) ShareShare
ReportReport
Posted on by 1,097

I have a sharepoint list called AAA

in this sharepoint list i have a column called PPL

PPL column is a Person column in sharepoint.

 

In powerapps i have a form based on my sharepoint list.

It automatically gives me a combobox for the person column.

 

Then i have a combobox i have created.

My own created combobox have this in Items.

'Office365-användare'.SearchUser({searchTerm:ComboBox2.SearchText;top:5})

 

This works fine. I can search all office365 users etc.

 

Now i want to set my own combobox selected items to populate the sharepoint column person combobox.

 

i have done this by adding this to the function defaultselection

ComboBox2.SelectedItems

 

combobox2 = my own created combobox with above office365 code in Items fucntion.

 

But when i save the form. The selected persons does not save to the list.

 

Why?

Categories:
  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @Oskarkuus ,

    A person field is a "complex" field type and once you change the Items of the dropdown, you need to tell PowerApps what to send back. This can vary according to what you need to update. Please read this thread which should contain most of what you need.

    This one is also useful as is this video from Shane Young @Shanescows 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

     

     

  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Oskarkuus ,

     

    The office365user function returns a different column structure than the SharePoint Person column.

    Person column of SharePoint is a embeded table contains "Claims", "Department", "DisplayName", "Email", "JobTitle", "Picture" columns.

    Please modify the DefaultSelectedItems property:

     

    {
    Claims:"i:0#.f|membership|" & ComboBox2.Selected.Mail,
    Department:"",
    DisplayName: ComboBox2.Selected.DisplayName,
    Email: "",
    JobTitle:"",
    Picture:""
    }

     

    For more reference: Defining default values for complex SharePoint types 

    Hope this helps.

    Sik

     

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard