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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Lost Acces to Most of ...
Power Apps
Unanswered

Lost Acces to Most of DataCardValues / UpdateContext in OnSelect Button

(0) ShareShare
ReportReport
Posted on 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

 

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard