Bansal Blogs - Dynamics 365, PowerApps, Microsoft Flows, Power BI
In my previous blog, I explained how to filter active and inactive records based on value selected in drop down. In this blog we will see how we can select multiple items in Gallery and activate or deactivate bulk records. We will cover below as part of this blog:
- Add Checkbox control to Gallery list
- Create a collection and add selected item in collection when checkbox is checked
- Remove item from collection when checkbox is unchecked
- Add a button to activate or deactivate selected records
- Difference between Patch and ForAll functions
I have a simple CDS app which filters active or inactive companies based on value selected in drop down and display them in Gallery list. Let’s add checkbox control in Gallery.
Add Checkbox to Gallery:
- To add checkbox inside gallery, select first row in Gallery and click on Check Box option in Controls menu under Insert tab
- Align…
View original post 553 more words