I have a sharepoint list with a column MiningType, it works as a radio button with 2 defined choises.
And in powerapps i have a radio button control with this properties:
DATA CARD RADIO BUTTON
Radio button gets choises from sharepoint list T01 and column MiningType, which has defined choises.
Radio button loads choises from sharepoint list, but when I try to submit form, it does not save anything for column MiningType.
Solved! Go to Solution.
Sometimes, SubmitForm(form) creates unknown and uncertain issues while submitting to SharePoint. My suggestion would be to try to Patch the information to your sharePoint list as below:
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
On the same control where you are submitting the form Data Cards.
Instead of using SubmitForm, you can directly use Patch function to update the fields.
On EditForm1 in EditScreen1, Item property is BrowseGallery1.Selected
I have more items on form then just radio button, do I have to include them also in patch function?
Then instead of this item you can write
and yes, you will have to include other fields as well that you want you update.
Based on the issue that you mentioned, do you want to patch the Radio selected value to your Choice column 'MiningType'?
Could you please share a bit more about the scenario?
Not including other items within the Patch() is the key to the error message. The key is that the data structure is not matched, the 'MiningType' is Choice column which expects a record.
Since you have a Form already, I think there is no need for you to use a Patch().
I think that you have something syntax wrong with the formula within the Update property.
Please modify the Update property corresponding to the Radio data card as below:
Notice that the Choice column expects a record rather than a value.
If you insist on using the Patch(), please modify your formula as below:
Or you can try as below:
Hope it could help you.
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.