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 / List field update with...
Power Apps
Unanswered

List field update with button

(0) ShareShare
ReportReport
Posted on by 6

Hi Guys,

pls ... can you help me with an issue? ... I need to change value in sharepoint list with button in powerapps application. 

 

In sharepoint i have one item, choose menu, with values YES or NO ... At this time, im changing the value with dropdown menu (2 choices - yes and no) in powerapp ,  but it will be prettiest solution, when it would be possible click on the button  YES or NO ... but i will need to help with "formula" .... thanks in advance

 

Martin

Categories:
  • rgruian Profile Picture
    Microsoft Employee on at

     

    Please correct me if I misunderstood, you want to submit a new record to your list on a button click, where one of the record fields has a value of YES or NO, as specified by a dropdown. If that is the case, you need to do the following:

     

    dropdown1.Items = ["YES", "NO"]

    button1.OnSelect = Collect(MyList123, { YesNoFieldName: dropdown1.Selected.Value })

     

    This assumes that your SP list has a field named "YesNoFieldName". Please adjust as needed.

    Also, if the list contains any other fields that are required, you will need to specify values for those as well, alongside the field you mentioned:

     

    button1.OnSelect = Collect(MyList123, { YesNoFieldName: dropdown1.Selected.Value, RequiredField1: 1234, RequiredField2: "PowerApps Rocks", ....... })

     

     

    I hope this helps.

  • MartinW Profile Picture
    6 on at

    Hi Radu,

    thank you for your response ... Im completely new in PowerApps ... and im trying to learn as many as possible 🙂  so im sorry for beginners contributions 🙂 .... i will try to specified my questions:

     

    Yes you was right,  i want to submit my sharepoint list value "choose value" ... I created app directly from sharepoint list in o365 sharepoint ... and that sharepoint value "choose value" have 2 options (SCHVALUJEM, NESCHVALUJEM) .. When i choose one of them , it will be appear also on sharepoint list.  But i need to figure out, how this "choose value" in app change for two buttons SCHVALUJEM, NESCHVALUJEM for changing the sharepoint list values. 

    I hope that i explained it clearly 🙂

    For your better imagination,  i added two pictures with field information

     

    If you have any further question ,  pls contact me ... i will be very happy, if i would be able to understand this topic 🙂  thank you

     

    img1.jpgimg2.jpg

  • rgruian Profile Picture
    Microsoft Employee on at

    Help me understand: Instead of showing a dropdown (lookup control) for those two values (SCHVALUJEM, NESCHVALUJEM), do you want to be able to show two buttons? If so, there is no easy way to do this in PowerApps today. May I ask why the Lookup control in its current incarnation is not sufficient for your scenario?

     

     

  • MartinW Profile Picture
    6 on at

    yes exactly ... that is what i wanted.  I considered, that would be "nice" way to show this options to end users.  But if there is not easy way to set my proposal (two buttons) ... i have to be satisfied with lookup solution 🙂 ... i appreciate your time, spended for my questions. 

  • ChrisWest Profile Picture
    4 on at

    Perhasp using a toggle button instead of the dropdown. Set the values to what you want. If you only have two.

     

    Chris West

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @ChrisWest,

     

    Can you provide a small code of how to make a toggle change the value of a field in sharepoint list ?

     

    Im facing the same issue Smiley Sad

     

    Thank you.

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
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard