web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Confusion with Error
Power Apps
Unanswered

Confusion with Error

(0) ShareShare
ReportReport
Posted on 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.  

Categories:
I have the same question (0)
  • jatcube Profile Picture
    508 on at

    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.

  • Mongoose83 Profile Picture
    9 on at

    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

  • Mongoose83 Profile Picture
    9 on at

    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

  • jatcube Profile Picture
    508 on at

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 445

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 321 Super User 2025 Season 2

Last 30 days Overall leaderboard