web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Save nested gallery da...
Power Apps
Unanswered

Save nested gallery data to a list on different rows, along with other screen data

(0) ShareShare
ReportReport
Posted on by 175

Hi,

 

I would like a help!

 

I have a screen that saves various data in a list "MastrizPlanejamentoList", according to code below:

 

 

 

 

 Patch (
 MatrizPlanejamentoList,
 {
 Título: TextInput1_3.Text,
 DescricaoDetalhada: TextInput1_4.Text,
 Tema: TextTema.Text,
 QuestaoFiscal: Gallery4_1.Selected.Título
 
 }
 )

 

 

 


This same screen has two nested galleries, Gallery6 nested with Gallery4_1, Gallery4_1 allows selection through CheckBox.

 

I would like the information selecteds to be saved to the "MatrizPlanejamentoList" by replicating the items already being saved in the code above along with the information from Gallery4_1 and Gallery6, always on different rows.

 

 

Powerapps_Gallery.PNG

 

Categories:
I have the same question (0)
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @galdezanni ï¼Œ

    Could you describe more clearly about 

    1)which value do you want to update by using the selection of the combo box?

    2) Gallery6 is used to display what?  Gallery4_1 is used to display what? combo box's Items is what?

    3)the relationship between MatrizPlanejamentoList and these three controls?

    If you just want to use the combo box's selection to update one field  in one record, you could use "Combo boxname.SelectedItems.fieldname" to represent  the selection value.

    What's more, the right syntax of Patch should be like:

    Patch(tablename,Defaults(tablename),{....})    //create a new record

    Patch(tablename,existing record,{....})   //update an existing record

     

     

     

    Best regards,

  • galdezanni Profile Picture
    175 on at

    Hi,

     

    combo box data I want to save to another list by saving the "Número da Ordem de Fiscalização" and the "Jurisdicionados" selected in the ComboBox, and replicating them to different rows in the Sharepoint List.

     

     

    In the particular case of nested galleries, I want the information contained in the Gallery4_1 (parent) and Gallery6 (child) galleries to be saved on separate row, replicating the information from Gallery4_1 and also the labels: "Número da Ordem de Fiscalização", "Tema", "Objetivo", and "Descrição Detalhada" - This is only for the selected CheckBox questions (Gallery4_1), as in the example below the list appearance:

     

     

    Powerapps_Gallery_II.PNG

     

    Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard