Skip to main content
Community site session details

Community site session details

Session Id : hpm+rLBiVUt5ZsvE7onsPy
Power Apps - Building Power Apps
Unanswered

Confusion with Error

Like (0) ShareShare
ReportReport
Posted on 28 Aug 2022 19:49:24 by 9

SubmitForm(EditForm2); Navigate(Success, ScreenTransition.Cover); ResetForm(EditForm2) 

 

Within this formula I am getting an error that says Production1: Field 'production1' is required but the only place this lives is on the Display name of the DataCard.... DataSourceInfo([@'VCC Show Reports'],DataSourceInfo.DisplayName,"Production1")

 

Weird part about this is also that I don't have anything named Production1 so I don't know where it is coming from. I was having an issue with a Datacard where the value of the selected data card was not posting to the sharepoint page, so the advice I got was to add a dropdown change the Items of the drop down and than change the Update on the datacard to reflect the change to a drop down. but this didn't work either.  

  • jatcube Profile Picture
    508 on 28 Aug 2022 at 21:02:16
    Re: Confusion with Error

    you said you modified the dropdown datacard, which is likely a choice column in SPO. As I said, you can just select a different datasource on your form and then go back to the original - at which point canvas apps will ask you to replace the datacards - if you then say replace datacards, it will automatically update and all the field will work as expected.

     

    If you made other changes to the form that you don't want to lose, the alternative is to create a new form, same datasource on a new page and then look at the item property and copy that into your dropdown, so the data is in the right format for sharepoint to patch it.

     

    choice columns are lookup columns and they have ids in sharepoint, which is why it's not just a case of simply patching a text value back.

  • Mongoose83 Profile Picture
    9 on 28 Aug 2022 at 20:51:13
    Re: Confusion with Error

    so I did find a field that required a response and I changed that..refreshed the data and it cleared the error. However the drop down selection is still not moving over to sharepoint with the rest of the information. It was just blank

  • Mongoose83 Profile Picture
    9 on 28 Aug 2022 at 20:43:54
    Re: Confusion with Error

    There is no Production1 field in the sharepoint I just double checked that. In updating the Displayname field........ DataSourceInfo('VCC Show Reports', DataSourceInfo.DisplayName, "Studio Show"; Still getting errors and for what Im not sure

  • jatcube Profile Picture
    508 on 28 Aug 2022 at 20:32:13
    Re: Confusion with Error

    Hi @Mongoose83,

     

    The @ sign in the datacard source indicates the field is directly linked to the underlying datasource. Please double check that the 'Production 1' field of the VCC Show Reports datasource is not marked as required in the datasource itself.

     

    If so, just change it in there and refresh the datasource from the sidebar in the app. After which, you might still need to update the form itself. If that's the case, you have two options - unlock the datacard and manually set it the required field to false. or change the datasource to something else and then change it back which should make powerapps reload all the fields and metadata from the datasource.

     

    Make sure not just change the required field in the canvas app as if the datasource expects a field to be required, no data will be written.

     

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2