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

Community site session details

Session Id : 2zpZM6ptC1/1l6++HB6hgt
Power Apps - Building Power Apps
Unanswered

Lost Acces to Most of DataCardValues / UpdateContext in OnSelect Button

Like (0) ShareShare
ReportReport
Posted on 16 May 2024 16:59:34 by 184

Hey,

 

i dont know what happened but i lost most of my DataCardValues, maybe someone has an idea how this can happen?

 

Database is Dataverse where i have done No Edits until the fails access.

 

UPDATE (finde the Failure but did not understand):

 

I have a Form

- every entry (Name / Street...) has a own confidence Score (one Datacard for .text / second datacard for .value)

- if its >2 and <85 the FieldColor is Red, so have to checked manually by employee
- in each field i have at On Change an Set(varOCField=True), so for Each field i get a Feedback that this is changed


Now when i hit the Save Button that Code, checks which fields are changed:

If(varOCName=true;UpdateContext({DataCardValue3:{Value:100}}));;

So that, the Confidence Value for the Field is Set to 100 after save, because its edited by employee and plausible now.
I Need that because about the Confidence Scores i build Filters in Dataverse.

So what is doing the fails ?
The Code, directly set the value to the datacard to nothing.

First
okay i understand,
i have not a third Argument in the if statement, but the Code is implemented in the On Select Step of an Button.
Why is that Executing without hit that Button, apart from that the if statement is also not true in my test now

Second Fail
i try to edit the Formula to insert third argument but .Value doesnt work:
If(varOCName=true;UpdateContext({DataCardValue3:{Value:100}});DataCardValue3.Value);;
 
How do i work with UpdateContext, whats my Fail?
 
_____________________________
Before Update on Top:


Only one is shown as available:

 

HansenvomDeich_0-1715878256988.png

The DataCard are available in the Form , i really dont know what ive done , that are all gone... i didnt delete something or whatever ?

I lose my nerve if I have to do everything again😳

 

HansenvomDeich_1-1715878469423.png

 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete