cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
YamiteKudasai
Helper IV
Helper IV

[HELP] - Patch Combo box with Multi Choice Column SPList

Hi Everyone,

 

I have a list of person named Tag. When I click edit btn in power apps i saved it on a variable named varComments = ThisItem.Tag

YamiteKudasai_0-1633595795865.png

On the DefaultSelectedItems of the combo box i put varComments.Tag.DisplayName

YamiteKudasai_1-1633595934103.png

 

But when I patch I'm having a runtime-error. 

YamiteKudasai_3-1633596127781.png

 

 

 

This is my patch code for update

YamiteKudasai_2-1633596008015.png

 

 

The error I found is that claims is not found on update. How to correct this?

 

YamiteKudasai_0-1633612505082.png

when edit mode in combo box

YamiteKudasai_1-1633612580320.png

 

 

12 REPLIES 12
StalinPonnusamy
Super User
Super User

SharePoint Settings looks good.

 

Other troubleshoot items.

  1. Remove the SharePoint connection and add it back
  2. Create a new column and try the same code (If #1 option not works)

 

still not working . sad :'(

StalinPonnusamy
Super User
Super User

Hi @YamiteKudasai 

 

I believe the issue is case-sensitive. Need to convert to Lower like below

 

Claims: "i:0#.f|membership|" & Lower(Source.Mail),

Email: Lower(Source.Mail),

 

Can you try to convert to Lower and try

        MultiplePeople: ForAll(
            ComboBoxSearchUserv2.SelectedItems As Source,
            {
                '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
                Claims: "i:0#.f|membership|" & Lower(Source.Mail),
                Department: "",
                DisplayName: Source.DisplayName,
                Email: Lower(Source.Mail),
                JobTitle: "",
                Picture: ""
            }            
        )

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,452)