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 / I need help with galle...
Power Apps
Unanswered

I need help with galleries and patch function...

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

 

I'm frustated trying to resolve this issue 😩

I have 15 gallery items. For each gallery, user can attatch photos with a camera function on Powerapps.

Jesus_05_0-1678115073713.png

 

The objective is adding all galleries items in a single gallery.

I can get these function when i push Start Onstart function in the application, but i want to update it automattically in a attatch files element in a form, like this:

Jesus_05_1-1678115364745.png

To get this, i have this function in Onstart app value:

 

Set(Attatchments;Collect(unidos;PhotoGallery1;PhotoGallery2;PhotoGallery3;PhotoGallery4;PhotoGallery5...))

 

The galleries have the folliwing structure in camera item:

 

Set(Photoss; GUID());;Collect(PhotoGallery1;{DisplayName: "Portal" & DataCardValue23.SelectedDate & Rand() & ".jpg";Id: Photoss & ".jpg";Value: Camera1.Photo})

 

I want to use Patch() Function for updating all the galleries and attatch the items in the form element at the same time.

I'm ussing an hidden gallery for adding all the elements with the Set "Attatchments" function. This gallery only update manually, not automattically.

 

Sorry for my writing structure in this post.

 

Regards!

Jesús

 

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard