cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VIP567
Level: Powered On

Patch nested gallery with outside button?

Hi all,

 

So I'm having some issues patching a nested gallery (gallery within gallery).

 

I have two galleries. DateGallery (currently selected one) and NewEntryGallery. The green check mark button submits the DateGallery to a Sharepoint list. I am trying to create a button outside of BOTH galleries to trigger the green check mark of each NewEntryGallery item. Is this possible? I keep getting a error saying "the function must be a control on the same screen" (something along the lines of that). 

 

Thanks 

gallery.PNG

 
1 REPLY 1
Community Support Team
Community Support Team

Re: Patch nested gallery with outside button?

Hi @VIP567 ,

 

Yes, you can use the control name that has the corresponding data in Patch function. For example, you can insert a button in the nested gallery, then use a formula like:

Patch(
    'xxx',
    ThisItem,
    {xxxx}
)
 
Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,059)