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 / help.... how to save c...
Power Apps
Answered

help.... how to save comb box in sharepoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

 

I have a combo box with office 365 users in power apps

 

 

1.png

 

I want to save the data in a sharepoint list, as I should do it since I use pacth and it gives me the following error

 

 

2.png

 

How else can I save the information?

 

 

Gracias

 

Atte,

 

Yuri Arciniegas Rodriguez

Categories:
  • LRVinNC Profile Picture
    2,297 on at

    What is the error you are receiving?

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @LRVinNC  it does not save the data in the sharepoint list

     

     

    3.png

     

    4.png

     

  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    Just a quick observation, the first line of Patch() the Defaults() ends with ";;" and it should be ";" .

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Other than the extra semicolon, I would like to ask: what column type is that User column, Text or Person? Since I found that you are using a combo box to select a user name, but use TextInput.Text as the user name instead, which made me confused.

     

    If the User column is a Text type column, then you could modify that "Usuario: TextInput.Text" part in the formula to Usuario: Combo_usuarios.Selected.'Full Name' "

     

    If the User column is a Person type column, then you will need to modify it to:

    Usuario: {'@odata.type': 
     "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims: "i:0#.f|membership|" & Combo_usuarios.Selected.Email,
     Department: Combo_usuarios.Selected.Department,
     DisplayName: Combo_usuarios.Selected.DisplayName,
     Email: Combo_usuarios.Selected.Email,
     JobTitle: "",
     Picture: ""
     }

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hola @v-jefferni  the column is a connection with the office 365 user in a combo box, How do I modify the person column

    caja.png

    caja1.png

     

     

     

     

     

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    So user is a Person type column in SharePoint list?

     

    If so, replace that "Usuario : TextInput1.Text" part in your patch formula with the whole sentence in my last reply.

    Patch(
     BD_Prototipo; 
     Defaults(BD_Prototipo);
     {
     Usuario: {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims: "i:0#.f|membership|" & Combo_usuarios.Selected.Email,
     Department: Combo_usuarios.Selected.Department,
     DisplayName: Combo_usuarios.Selected.DisplayName,
     Email: Combo_usuarios.Selected.Email,
     JobTitle: "",
     Picture: ""
     };
     Fecha_TTurno: DatePicker1.SelectedDate;
     Hora_Inicio: Hora_Inicio.Text;
     Hora_Fin: Hora_Fin.Text
     }
    );;

     

    Please have a try, if have any other questions please feel free to let us know.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-jefferni  thank you very much, 

     

     

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 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard