Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Lost Acces to Most of DataCardValues / UpdateContext in OnSelect Button

(0) ShareShare
ReportReport
Posted on by 182

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

 

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1