
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.
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:
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