cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Updating List Columns Question

Hi all,

I'm needing to change a list item by a button in a gallery. 

Patch( Projects_tests, Filter( Projects_tests,ThisItem.'True/False' = "true"))

This above gets no complaints from the power app editor, but it has no effect on the list item at all. 

 

My need is to make a label item toggle its visibility "true" - "false" without the need for a variable.

 

Cheers

Luke

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi @lukeo25 ,

Using your field names and values without fully understanding what you are doing, if you want to put the Text value "true" in the field 'True/False' in the current record where you are running this code from inside the form or gallery, you would do this

Patch(
   Projects_tests,
   ThisItem,
   {'True/False':"true"}
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

1 REPLY 1
Super User III
Super User III

Hi @lukeo25 ,

Using your field names and values without fully understanding what you are doing, if you want to put the Text value "true" in the field 'True/False' in the current record where you are running this code from inside the form or gallery, you would do this

Patch(
   Projects_tests,
   ThisItem,
   {'True/False':"true"}
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (11,378)