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 / Unable to Patch the da...
Power Apps
Unanswered

Unable to Patch the data to Dataverse Table

(0) ShareShare
ReportReport
Posted on by 85

Text Box Auto Populate Based on Previous dropdown Selection Success But Patch function Failing because update property is not accepting the Value...
17 hours ago
Hi, I have been trying to auto populate a value based on the previous Drop down selection and got succeeded, But Failing when I am trying to patch the same to Dataverse table tried different approaches not sure why I am not succeeding in this scenario !! 

 

Challenge 1 - Update Property is not getting updated.. not sure why its not working for dropdown data card and for the Textbox

Challenge 2- Unable to Patch these 2 values data to Dataverse table.

 

I have a dropdow1 and Text Box, Auto Populating the value based on the dropdown value selection..

Dropdown Values..

Desk1

Desk2

Desk3

Desk4

Desk5

 

Text Box - Auto Populate Values

If Desk1 Selected - Auto populate ( India)

If Desk2 - US

If Desk3-  Europe

If desk 4- Canada

if desk5- UK

Created 2 Tables in this solution..

My Table1 (Onboardings)- Main table where I am trying to Post the data using Patch

My Table 2 ( VFilters) Which has Text Columns..

 

Desk Type       Group

Desk 1             India

Desk 2              US

..

Desk5              UK

 

Distinct(VFilters,'Desk Type') - Updated this formula ( Dropdown Items Property) - So My dropdown is displaying all the desks available, When I select desk 1 from this dropdown using below look up the group is getting auto populated.

 

LookUp(VFilters,'Desk Type'=Dropdown1.SelectedText.Value).'Group' - Updated this formula in Text Box Default Property.

 

Value is getting Auto Populated.. But for both these Cards Unable to set the Update Property getting the below error. 

Dropdown1.Selected- Not working

Dropdown1.SelectedText - Not working

Dropdown1.Selected.Value - Not working

Dropdown1.Selected.Result - Not working ( Error : Expected OptionsetValue) am I getting this error because I am using a different table to read the dropdown from Dataverse?

 

Same issue with text Box as well - Unable to set the property for during the patch the textinput2. Text Is not working 

 

Patch('Onboardings',Defaults('Onboardings'),{'First Name':OFirstnamevalue.Text,'Last Name':Olastnamevalue.Text,Dom:OValueDomain.Text,'Agent':OValueDAgent_1.Selected.Value,'Desk type' ':Dropdown1.SelectedText.Value ( this is not working) Posting empty values to dataverse

Group':TextInput1.Text ( this is not working) Posting empty values to dataverse

 

Allabasha_0-1656937523875.png

 

 

Please help me to solve this challenges, Happy to provide more information on this.

Categories:
I have the same question (0)

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard