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

Unable to Update the " Update Property" - Urgent help

Hi All, 

 

I have been trying and failing to update the Update Property for one of the dropdown control.. my requirement is to autopopulate the value in text box based on the previous dropdown selection. but unable to set the update property to the dropdown feild.

 

DataCardValue2.Selected.value

DataCardValue2.Selected.Result

DataCardValue2.Selecteditems

DataCardValue2.Selected

 

Tried all the above and it is not working... 

Allabasha_0-1656959150709.png

Please help me to fix this issue

3 ACCEPTED SOLUTIONS

Accepted Solutions
Sunil-Narnaware
Solution Supplier
Solution Supplier

@Allabasha if I understand correctly.. you want to set the Update Property of 'Agent Group_DataCard2'? Right?

And the Agent Group values are present in Control 'Dropdown1'? right?

If So, can you set the Update Property of data card 'Agent Group_DataCard2' to Dropdown1.Selected.Result

View solution in original post

Yes thats the Problem If I am able to set the Update property I can also go ahead and Patch the data but the update property is not getting updated and giving errors tried all the approaches as suggest in my Intial message.Dropdown1.Selected.Result this is not accepting

DataCardValue2.Selected.value

DataCardValue2.Selected.Result

DataCardValue2.Selecteditems

DataCardValue2.Selected

View solution in original post

Hi Sunil, 

 

Thank you very much for your time on investigating and helping me to fix the issue. I was able to sort the Form Validation as well. thanks again

View solution in original post

15 REPLIES 15
theapurva
Responsive Resident
Responsive Resident

Hello,
Update property is used for pushing the value to database.
If Agentgroup column is Choice column /Lookup column in backend, you need to use as below:

 

For Choice Column:

{Value: DataCardValue2.Selected.Value}
 or 
{Value: DataCardValue2.Selected}


For Lookup Column:

{ID:DataCardValue2.Selected.ID,Value: DataCardValue2.Selected.Value}
 or 
{ID:DataCardValue2.Selected.ID,Value: DataCardValue2.Selected.YourColumnName}

 

----------------------------------------------------------------------------------------------------------------------
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!

Hi Tried both the types and still facing the same.

 

Allabasha_1-1656961276652.png

Allabasha_2-1656961292714.png

 

My requirement is to autopopulate the values based on the dropdown selection.

My Table Name is VFilters and it has 2 text Coloumns like the below

 

Allabasha_3-1656961496944.png

 

Sunil-Narnaware
Solution Supplier
Solution Supplier

@Allabasha set the DataCard' Update Property to Dropdown.Selected.Result 

Replace Dropdown with your appropriate dropdown control name which is present inside the data card..

theapurva
Responsive Resident
Responsive Resident

hello,

Please do below:

1. Set the primary field of combobox to 'Agent group'.

2. Put Items formula as 

 

Distinct(Vfilters,'Agent Group')

 

3. Then follow based on your destination list's (Not Vfilters list) Agent Group column:

For Choice Column:

{Value: DataCardValue2.Selected.Value}
 or 
{Value: DataCardValue2.Selected}


For Lookup Column:

{ID:DataCardValue2.Selected.ID,Value: DataCardValue2.Selected.Value}
 or 
{ID:DataCardValue2.Selected.ID,Value: DataCardValue2.Selected.YourColumnName}

 

----------------------------------------------------------------------------------------------------------------------
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!

Allabasha_0-1656962683771.png

already tried but it is not working, tried again to show the error, It says exception Option Set Value.. value. not sure about this

@Allabasha yours is single line of text column right 'Agent Group' one..? 

And by the way what is the data source you are submitting form to? Is it same as VFilters?

Thank for your quick response , Plesae see the below

 

1. Allabasha_0-1656962989404.png

2, its not accepting the formula

Allabasha_1-1656963059317.png

 

Sunil-Narnaware
Solution Supplier
Solution Supplier

@Allabasha can you paste the picture of your controls? how they are placed?

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,791)