Good afternoon, hoping to be pointed in the right direction here. How can I tie a button to a specific SP list item so when it's pressed, info about that list item is displayed?
Thank you in advance,
Morghan
Solved! Go to Solution.
Got it figured out by following these steps - https://www.youtube.com/watch?v=eBaoOQ58YD8. All good. Thank you!
Can you share more information on where you want to display the list?
------------
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.
Will it always be the same list item? If that is the case you can capture the record in variable using LookUp
OnSelect of button
Set(varRecord,LookUp(YourSharePointList, ID = YourSharePointItemID))
You can then reference the record's columns using varRecord. If you wanted to display the title in a label put this in the text property: varRecord.Title
If you want to display all of your SharePoint records you could use a gallery. Put a button in the gallery then in the button's OnSelect property capture the record in a variable.
Set(varRecord,ThisItem)
You can then reference varRecord which will contain the selected record.
Is this what you meant?
Thank you for the quick response @Digital - The more I think about it, I guess I can actually do away with needing the list all together. I have this map image in my PowerApp. I am overlaying transparent buttons so as the user clicks the map image/button, it should display that property's address, phone number, etc.
Here is an image I hope helps -
Got it figured out by following these steps - https://www.youtube.com/watch?v=eBaoOQ58YD8. All good. Thank you!
User | Count |
---|---|
119 | |
86 | |
83 | |
74 | |
69 |
User | Count |
---|---|
215 | |
179 | |
141 | |
109 | |
83 |