cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Link dropdown box inside gallery to current item

Hi All,

 

I created a dropdown control and inside the Items property:

["Approved", "Pending", "Rejected"]

So far so good, but how do I link the dropdown to associate with the current item's field called Approver1_Status? I tried looking for the Update property and to update using this formula but I cannot find it:

ThisItem.Approver1_Status.Value


My Approver1_Status column is a Text Column. Thanks in advanced!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Link dropdown box inside gallery to current item

Hi @hnguy71 ,

Could you describe more clearly about "link the dropdown to associate with the current item's field"?

1)If you means that update Approver1_Status column with the data of the drop down.

You could set a button's OnSelect:

Patch(table,Defaults(table),{Approver1_Status:Dropdown1.Selected.Value})

2)If you means that display Approver1_Status column's data in the drop down.

You should set the drop down's Items: tablename

                                                    Value: Approver1_Status

 

What's more, the property of Update is used to update data in a form.

If you put the drop down inside a form, you could set the drop down's datacard's Update:

Dropdown1.Selected.Value

And then set the submit button: SubmitForm(Form1)

 

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User III
Dual Super User III

Re: Link dropdown box inside gallery to current item

Hi @hnguy71 

 

You are trying to get the value of the selected item in dropdowwn to your text column right? 

 

If so, 

 

please put this formula on the text label. Replace the "Dropdown4" with the name of your drop down

Dropdown4.SelectedText.Value

Screenshot: 

ddown.pngHope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Highlighted
Community Support
Community Support

Re: Link dropdown box inside gallery to current item

Hi @hnguy71 ,

Could you describe more clearly about "link the dropdown to associate with the current item's field"?

1)If you means that update Approver1_Status column with the data of the drop down.

You could set a button's OnSelect:

Patch(table,Defaults(table),{Approver1_Status:Dropdown1.Selected.Value})

2)If you means that display Approver1_Status column's data in the drop down.

You should set the drop down's Items: tablename

                                                    Value: Approver1_Status

 

What's more, the property of Update is used to update data in a form.

If you put the drop down inside a form, you could set the drop down's datacard's Update:

Dropdown1.Selected.Value

And then set the submit button: SubmitForm(Form1)

 

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (8,325)