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,
Solved! Go to Solution.
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.
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 -
Check out the News & Announcements to learn more.
Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.