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?
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?
Hi @eka24 ,
I have an error message in the button command. Please see the attached screenshot. Many thanks!
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.
Hi @eka24 . Screenshot attached with what I'm hoping to accomplish as well. Thanks so much for taking the time!
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.
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?
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.
WarrenBelz
146,700
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,015
Most Valuable Professional