cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nejhade
Frequent Visitor

Multiple Record Copy in a Grid to Create new item from copied item.

Hello Guys,

First of all Thanks for reading this:

So I want to create Grid like structure to create a record. Refer below image on Click of checkbox, I want that Specific record to be copied in a below Grid which is gallery. and edit it and save it back to source as a new record.

How I can do that.

As you can see when I select a record all Items in a below grid reflect same record.

I want if I click 2 checkbox it should only those 2 records in below and want save code. how to map checkboxes to below gallery.

also Gallery is correct control to do quick create feature.. What else I can take for bulk create record from copied records.

nejhade_0-1623421970912.png

Many Thanks in Advance

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @nejhade ,

You might watch this video from Shane Young @Shanescows on editable galleries.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

I did checked his video shared by you and other videos also. But everywhere I got is single edit/create at a time. I want to know is bulk edit/create is possible or not?

Hi @nejhade ,

Technically I guess it would, but I have never attempted it. You would have to use a structure like

ForAll(
   GalleryName.AllItems As aPatch,
   Patch(
      DataSource,
      {ID:aPatch.ID},
      {
         Field1:aPatch.ControlReference1,
          . . . . . . .
      }
   )
)
      

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

WarrenBelz
Super User
Super User

Hi @nejhade .

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (979)