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

Change value sharepointlist item with toggle

Hi,

 

I'm trying to change a value of a sharepoint list (settings). The field is a True or False field (see picture):

True-false.png

I want to do this with a toggle field. So when the toggle is off this setting is false and when the toggle on then the value will change to true. 

10 REPLIES 10

Hi,

 

I have tried anything but i can't get it to work.  I used your code:

ForAll(
    Gallery1.AllItems;
    Patch(
        Settings;
        ThisRecord;
        {UseAudioRecording: ThisRecord.Switch.Value}
    )
)

But i get the following error:

"The Patch function has invalid arguments. The specified column UseAudiorecording does not exist"

 

I'll hope you can help me with that 🙂

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,244)