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 / Drop down selections s...
Power Apps
Unanswered

Drop down selections should be displayed in gallery

(0) ShareShare
ReportReport
Posted on by

Hi Everyone 

 

I have a form in my Power App Screen with following details.

 

Danny_Dicaprio_1-1702386615582.png

 

 Below the the form I have two buttons and below that I have inserted a gallery 

By any chance would it be possible if I fill up details skills, experience and proficency level,and click on the add button it should be displayed in the gallery  

Categories:
I have the same question (0)
  • VasileR Profile Picture
    298 Super User 2024 Season 1 on at

    Hi @Danny_Dicaprio ,

     

    On the OnSelect property of Add button, you should use a Patch, to add data to your gallery source data.

  • Danny_Dicaprio Profile Picture
    on at

    Could U Please be detail on how that can be done?

    like how will I Get those details patched into gallery?  ?

  • VasileR Profile Picture
    298 Super User 2024 Season 1 on at

    Sure, I can show an example that you can then adapt for your app.

     

    Patch( 
     collection_Name_from_ITEMS_gallery, 
     Defaults( collection_Name_from_ITEMS_gallery), 
     { SkillName: txt_Skill.Text,
     ExperienceLevel: dronDownExperience.Selected.Text,
     ProficiencyLevel: dropDownProficiency.Selected.Text } )

     

    collection_Name_from_ITEMS_gallery - replace this with the datasource you have at Items property of your gallery
    SkillName, ExperienceLevel, ProficiencyLevel - replace with columns name from your datasource

    txt_Skill.Text - replace this with the name of the text input for Skills

    dropDown - these are you dropdowns with Experience and Proficiency, replace with the names they have
    dorpDown.Selected.Text - text here needs to be replaced with the proper column name from the dropdown datasource.

     

  • Danny_Dicaprio Profile Picture
    on at

    Hi Thank you for your response 

     

    Actually, I have been trying something Like that

     on the onselect of my add button I passes the following formulas 

    Collect(
        MyCollection,
        {
            Skill: DataCardValue39.Text,
            ProficiencyLevel: DataCardValue36.Selected.Value,
            ExperienceLevel: DataCardValue38.Selected.Value
        }
    )
    And for the item property of the gallery  MyCollection
      
    so when ever I clicks on the Add button the details are getting recorded in my gallery ,
    But even after I click the add button the details are still showing in my Datacard value 
    Danny_Dicaprio_0-1702389040751.png

    And also I have a button for clear , which I dont know how to use , if the user clicks on the clear button I want last enterd details should be removed from the gallery 

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard