
Announcements
I need some help!
1. So I would like to update a label(connected to a data source) that is in a gallery by the push of a button.
- I only want it to update the selected items label
2. I want this updated label to make an icon become visible because of what the string was updated to.
-Once again I only want this to happen for the selected item in the gallery
Also the button is outside of the gallery!!
Hi @jNelly ,
Firstly, you need to update the underlying value of the Label in the Data Source - I have assumed SharePoint here.
Patch(
DataSource,
{ID: Gallery.Selected.ID},
{FieldName: YourValue}
)
This will the update the label - then on the Visible of the icon (I assume it is in the Gallery)
ThisItem.FieldName = YourValue
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps