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 / Patch multiple selecte...
Power Apps
Unanswered

Patch multiple selected checkbox inside a gallery

(0) ShareShare
ReportReport
Posted on by 101

Hello! I have this patch for now(ss1) where i verify if the records already exist in my SP list. I want to patch every checked checkbox in SP list new line every checked checkbox. I want to patch the id from every checkbox.

ss1:

Antal_Bogdan_0-1660112034767.png

 

ss2:

Antal_Bogdan_1-1660112050542.png

ss3:

Antal_Bogdan_2-1660112094974.png

 

Categories:
  • Antal_Bogdan Profile Picture
    101 on at

    I've done this for now but idk why the patch is not inserting nothing in SP list(the SP list in blank):

    If(
    CountRows(
    Filter(
    FormariPersonal,
    MichelinId = Gallery3.Selected.'Michelin ID',
    IDTipFormare = Gallery1.Selected.ID,
    DenumireFormare = ComboBox1.Selected.Post
    )
    ) > 0,
    Notify(
    "Persoana si formarea exista deja!",
    NotificationType.Error,
    2000
    ),
    ClearCollect(
    checkboxCollection,
    FormariPersonal
    );
    ForAll(
    Filter(
    checkboxCollection,
    Checkbox1.Checked = true
    ),
    Patch(
    FormariPersonal,
    Defaults(FormariPersonal),
    {
    MichelinId: Gallery3.Selected.'Michelin ID',
    IDTipFormare: Gallery1.Selected.ID,
    Realizat: Now(),
    DenumireFormare: ComboBox1.Selected.Post
    }
    )
    );
    Notify(
    "Formare adaugata cu succes!",
    NotificationType.Success,
    2000
    )
    );
    UpdateContext({resetCheckbox: true});
    UpdateContext({resetCheckbox: false})

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard