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

Community site session details

Session Id : 6aHr700PAqST5kMv35sM0W
Power Apps - Building Power Apps
Answered

Patch a Choice column with multiple values with a collection

Like (0) ShareShare
ReportReport
Posted on 20 Apr 2023 12:14:49 by 655

I have a series of checkboxes that are populated by values from a choice column in SharePoint. The choice column allows multiple values. If the user updates the checkbox in the app I want to Patch those updates back to the choice SharePoint column. 

The original values from the SharePoint column are put into a collection OnStart:  'colfaitems' When the user updates check box selections, I can update the collection, then send the updated values back to SharePoint. How do I write that in a Patch Function? 

Thanks in advance. 

 

ctedesco3307_0-1681992785230.png

 

I have the same question (0)
  • Verified answer
    ctedesco3307 Profile Picture
    655 on 20 Apr 2023 at 12:37:21
    Re: Patch a Choice column with multiple values with a collection

    I got it 

    ForAll(
    colfaitems,

    Patch(
    KYOJDCP,
    Defaults(KYOJDCP),

    {
    'Focus Areas': colfaitems
    }
    )

    );

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 733 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 532 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete