Announcements
I've got a really simple app based on a sharepoint list that includes a hyperlink column (Buy It). Rather than have the full url visible as in the screenshot I want to have a button / icon that can be clicked to open the corresponding url.
Any help appreciated
Hello @ChrisUndery
This is quite simple 🙂 you need to do the following:-
1)Add button/icon and in the OnSelect property add this code
Launch("Add link that you want to navigate to")
or
2)Add a html text control and on the htmltext property add
"<a href='add link here'</a><b><font color=blue>Add hyperlink text</font></b>"
Example output
Easyy !!
Cheers
Thanks @Anonymous_Hippo.For either of those options what code would I use rather than the actual url as it will be different depending on which gallery item is selected. For the screen shot given, the url is the value in datacardvalue.5
I worked it out.
Needed to change the datacardvalue5 from what it was to just the text
Parent.Default //"<a href='" & Parent.Default & "'>" & Parent.Default & "</a>"
Then turn the form 'BuyIyDataCard1) into edit mode (DisplayMode) as was in View (so couldn't click the button)
Then hide the datacardvalue5 field
Then used the following for onselect of the icon or button
Launch(DataCardValue5.HtmlText)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135