cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Can I add an Edit Form into a gallery?

Hi everybody.

 

Can I add an Edit Form into a gallery?

I have a Table [Id, Team, Active] and I want to change Active fields directly from Gallery. Is it possible???

 

Thank in advance.

12 REPLIES 12
Anonymous
Not applicable

@Anonymous

 

You were right. I got it to work now. Apparently I have to come inside one of the items in the gallery before i can do that. A bit unintuitive but if it works then i guess it's ok for now. Thanks 

@Meneghino  awesome answer, this worked great, thank you!


@Meneghino wrote:

Yes you can and easily, no need to use forms.

 

1) Insert a toggle control in the gallery and set its Default property to ThisItem.Active

2) Set the toggle's OnChange property to Patch(YourDataSource, ThisItem, {Active: !ThisItem.Active})


 

Absolute legend! Have saved me about 2 hours of playing around.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,092)