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 / Patching Gallery Item ...
Power Apps
Answered

Patching Gallery Item as Multiple Rows

(0) ShareShare
ReportReport
Posted on by 242

So for context I have a bunch of checkboxes, these checkboxes then populate a gallery, as seen in the photo below:

JeckGill_0-1690362994803.png

The items in the gallery are text label, an image taken from camera input, and then a pen input.

I want these to be patched into a table when a "submit" button is clicked, where each row has its own hazard, similar to the diagram below.

image.png

 

so far, every other piece of data gets added to the table with no issue, could anyone help me sort out a formula that would fill out the table in a similar way to the table? I've attached my current working formula for the "submit" button

JeckGill_2-1690364072876.png

I have started a collection for the items inside the gallery - not sure if that takes me in the right direction or not though...

JeckGill_0-1690375183050.png

 


Any help is appreciated 🙂

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @JeckGill ,

     

    Please try:

     

    ForAll(
     GalleryName.AllItems,
     Patch(
     'Form-XXX',
    	 Defaults('Form-XXX'),
    	 {
    	 Name:XXX,
    	 'Project Number':xxx,
    	 'Hazard Name':Label2.Text,
    	 'Hazard Control':hazardControl.Image,
    	 'Hazard Pictrue':Image5.Image
    	 }
    	 )
    )

     

    Best Regards,

    Bof

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 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard