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 / Updating Datacardvalue...
Power Apps
Unanswered

Updating Datacardvalue.selected item with a checkbox

(0) ShareShare
ReportReport
Posted on by 37

I currently have powerapp that has a datasource of SharePoint list.

I placed a check box on the edit form that is captioned "Mark All Safe".

In the on check property I have placed the following formula: DataCardValue32.Selected.Value = "Safe"

 

Where the DataCardValue32 is a drop down list that linked to my datasource.

 

This does not appear to be working. Does anyone know how I can updated the value selected in the drop down list with the check box?

Categories:
I have the same question (0)
  • hpkeong Profile Picture
    2,944 on at

    Hi

     

    I guess you might have not changed (after UnLock), the Update parts for that particular value.

    You have to change from the previous Update = TextInput1.Text to DropDown.Selected.Result

     

    I  hope this is clear and it applies to all unlock value.

  • rmccook Profile Picture
    37 on at

    Thank you for your feedback. Unfortunately, my datacard's update property is set to the datacardvalue.selected so that does not appear to be the problem.

  • hpkeong Profile Picture
    2,944 on at
    Hi

    May you provide screenshot in order better understand your actual scenario?

    Tq
  • rmccook Profile Picture
    37 on at

    Absolutely, here you go! Thanks!

     

    https://goo.gl/photos/v9hZwe2pD29LUSGo7

  • hpkeong Profile Picture
    2,944 on at
    Hi

    Really sorry can't figure out intention.
    May I have wild guess?
    - when you OnCheck the All Safe, you wanna Dropdown to show Safe, and then?

    I am pretty unsure.
    Can you elaborate as my understanding is pretty limited here.

    Apologize for that.
  • rmccook Profile Picture
    37 on at

    I apologize for the confusion, you are correct. I am attempting to set the drop down list value to a selected value of "Safe" when the "Mark All Safe" checkbox is checked.

    The overall intention is that approximately 20 drop down lists that are bound to a SharePoint list datasource are updated to a selected value of "Safe" when the checkbox is selected.

     

    This will allow users to move quickly through the form and update just the drop down lists where the value is something other than Safe.

    I can't set the default value to Safe as I will have two additional check box options for the section, one of which will change the selected value of the 20 drop down list to Unsafe and one that will change the selected value of the 20 drop down lists to N/A.

     

    Just to be clear, my drop down lists are inside a DataCard and are bound to a SharePoint list datasource. I am asking if anyone can assist me in setting the Datacardvalue drop down list inside of the DataCard, to a value I specify when a checkbox that is unbound to a datasource and is within another DataCard is selected.

     

    I have already tried setting the OnCheck property of the Checkbox that is not bound to a datasource to

    DataCardValue32.Selected.Value = "Safe"

     

    Where DataCardValue32 is the SharePoint list bound dropdown inside of another DataCard. This does not seem to work.

     

    Thank you for your assistance.

     

     

  • sachinsoni Profile Picture
    51 on at

    I have same issue

     

    I want to check item already exists or not. so my approch is 

    I have datacardvalue in combo box control, i check, if approver (my sharepoint list people column) is equal to datacardvalue, then perform furture task.. but formula not work. 

     

    Error: Invalid Arguments type

     

    New Error.jpg

     

     

     

     

  • sachinsoni Profile Picture
    51 on at

    I have same issue

     

    I want to check item already exists or not. so my approch is 

    I have datacardvalue in combo box control, i check, if approver (my sharepoint list people column) is equal to datacardvalue, then perform furture task.. but formula not work. 

     

    Error: Invalid Arguments type

     

    New Error.jpg

     

  • lknudson Profile Picture
    102 on at

    Maybe you got this working ok since it's a long time ago, but here's how I got something like this to work.  It came to light as I was doing a project with lots of Combo boxes needed in DataCards on a form.  I made a single column Collection to populate the combo box.  I set up the Combo inside of the field and made the Selected Item to be the Data Card's "Update To" value. 

    My Checkbox to Set field value is outside of the form, so the Default Item and Default Selected Item use a

     

    Lookup(default value) and

    If(checkbox,Lookup A, Lookup B)

     

    to set the combo box value.

    The actual datacardvalue can probably be discarded.

    My actual field for Safetly Status within the table for that data card was "amDesc".

     

    Capture.JPG

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard