cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Field required error

I'm trying to write a collection in repeating tables but when I action save to Sharepoint I keep on getting an error stating I'm missing a field or required field error. Yet all the fields in my sharepoint is filled in?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Field required error

Hi @Andries1 ,

Could you please share a bit more about the error message with your formula?

How do you save your collection data back to your SP List? Using Patch function?

Have you rename some columns (e.g. Title column) within your SP list?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. When saving a Collection data back to SP List, the sample syntax as below:

ForAll(
          Collection, 
          Patch(
                    'YourSPList',
                     Defaults('YourSPList'),
                     {
                         Column1: Collection[@Column1],
                         Column2: Collection[@Column2],
                         Column3: Collection[@Column3],
                         ...
                     }
          )
)

If you use Patch function to save your collection data back to your SP List, please check if you have typed proper columns within the '{}' part of the Patch function (if you have renamed your column names), and specify proper values for all Required/Mandatory fields within the '{}' part.

 

You could go to your SP List settings, then check if you have specify proper values for all Required fields list as below:1.JPG

After that, click the specific column in above column list, then make sure you reference the Internal Column Name of your List column within the '{}' part of your Patch function:2.JPG

Note: Within Patch function, you should reference the Internal Name of the List columns.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Field required error

@Andries1
Can you please share more information?
* Your code used to submit the collection to SP
* A screenshot of the error message
Highlighted
Community Support
Community Support

Re: Field required error

Hi @Andries1 ,

Could you please share a bit more about the error message with your formula?

How do you save your collection data back to your SP List? Using Patch function?

Have you rename some columns (e.g. Title column) within your SP list?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. When saving a Collection data back to SP List, the sample syntax as below:

ForAll(
          Collection, 
          Patch(
                    'YourSPList',
                     Defaults('YourSPList'),
                     {
                         Column1: Collection[@Column1],
                         Column2: Collection[@Column2],
                         Column3: Collection[@Column3],
                         ...
                     }
          )
)

If you use Patch function to save your collection data back to your SP List, please check if you have typed proper columns within the '{}' part of the Patch function (if you have renamed your column names), and specify proper values for all Required/Mandatory fields within the '{}' part.

 

You could go to your SP List settings, then check if you have specify proper values for all Required fields list as below:1.JPG

After that, click the specific column in above column list, then make sure you reference the Internal Column Name of your List column within the '{}' part of your Patch function:2.JPG

Note: Within Patch function, you should reference the Internal Name of the List columns.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,739)