cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
calvares
Impactful Individual
Impactful Individual

Edit form does not accept my updated people field

I have a canvas app with an edit form linked to a SharePoint list. One of the fields is a people field. I needed to change this to allow multiple selections. Once I did and refreshed the data source in my app, it threw up an error. I then deleted the field and added it again, but the field still has an error.

If I create another edit form, the issue does not occur, but I do not want to do this as I've already made customisations.

I've had this problem before and the only thing I could do was to delete the field in SharePoint and create a new one. 

But surely I shouldn't need to do this? Adding a new field to the existing form should be sufficient, right?

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@calvares 

Yes, so the form is still seeing the column as a single selection and not a multi.

Did you cut and paste the form back?

I would also add to that process - remove the datacard, cut the form, undo/paste the form back, add the datacard.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

5 REPLIES 5
RandyHayes
Super User
Super User

@calvares 

Select your entire form and then press Ctrl-X (cut) and then Ctrl-Z (undo).

This will cut the form and then on the undo, the form will re-evaluate its schema.

If that is not successful, please post back the error you are seeing.

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
calvares
Impactful Individual
Impactful Individual

Hi @RandyHayes thanks but it didn't work for me.

The error is on the Default of the data card:

Expected record valueExpected record value

 

 

RandyHayes
Super User
Super User

@calvares 

Yes, so the form is still seeing the column as a single selection and not a multi.

Did you cut and paste the form back?

I would also add to that process - remove the datacard, cut the form, undo/paste the form back, add the datacard.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
calvares
Impactful Individual
Impactful Individual

@RandyHayes I tried adding a new field to the form without deleting the existing one with an error, and this worked. It must have picked up on the updated schema. Thank you.

RandyHayes
Super User
Super User

@calvares 

Yes, it is always a bit of trial and error on the forms to get them to get new schema information.  

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,362)