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

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

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

Really want to show your appreciation? Buy Me A Cup Of Coffee!
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

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

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

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

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,628)