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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Pass selected item fro...
Power Apps
Answered

Pass selected item from a collection to a field in an entity

(0) ShareShare
ReportReport
Posted on by 294

Hi,

I have a dropdown list which is populated from a collection. I would like to pass the selected item from this dropdown list to a field in an entity. Can it be done?

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    Use:
    Dropdown1.Selected.Value

     

    Change Dropdown1 to your actual name

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • karimabdelrazek Profile Picture
    294 on at

    Hi @eka24 . Thank you for your reply and sorry. I'm still new to this. At what point does the "Dropdown1.Selected.Value" pass the selection to my field called "Location" in my "Organization Information" entity?

  • eka24 Profile Picture
    20,923 on at

    If the fields are on a Form example Form1, then insert a button on your screen.

    On the OnSelect property of the button, put: SubmitForm(Form1)

    When you click on the button, whatever you have on the form would be sent to the entity

     

    Give a screen shot if you have issues.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • karimabdelrazek Profile Picture
    294 on at

    Hi @eka24 . Screenshot attached with what I'm hoping to accomplish as well. Thanks so much for taking the time!

  • Verified answer
    eka24 Profile Picture
    20,923 on at

    Follow these steps:

     1. Insert a Dropdown1 and on its Items property put: The name of your table that contains the    dropdown list.

     

    2. In the Default property of the TextBox (Example Textbox1) which will hold the selected item from thr dropdown put: Dropdown1.Selected.Value

     

    3. To send the data in the Textbox1 to the datasource, Project Information, Put the formula OnSelect of the Button:

            Patch( 'Project Information', Defaults('Project Information'),
         {'Project Location': Textbox1.Text } )

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • karimabdelrazek Profile Picture
    294 on at

    Hi @eka24 ,

    I have an error message in the button command. Please see the attached screenshot. Many thanks!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard