cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
calvares
Continued Contributor
Continued Contributor

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 III
Super User III

@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.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

View solution in original post

5 REPLIES 5
RandyHayes
Super User III
Super User III

@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.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes
calvares
Continued Contributor
Continued Contributor

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 III
Super User III

@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.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

View solution in original post

calvares
Continued Contributor
Continued Contributor

@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 III
Super User III

@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.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

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

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,394)